VisorCentral.com
Show 20 posts from this thread on one page

VisorCentral.com (http://discussion.visorcentral.com/vcforum/index.php)
- VisorCentral.com (http://discussion.visorcentral.com/vcforum/forumdisplay.php?forumid=5)
-- Decode URLs (http://discussion.visorcentral.com/vcforum/showthread.php?threadid=9662)


Posted by usbworkshop on 11-24-2000 06:05 AM:

Hi, how did you guys decode this URL for your PHP3 programs?

http://www.visorcentral.com/page/0-1-0-1.htm

This kind of URLs is good for search engine-friendly...

Thanks

__________________
-------------------------
Editor
USB Workshop
http://www.usbworkshop.com/


Posted by marcus on 11-26-2000 08:59 PM:

The following code break the URL apart.

$url_array=explode("-",$REQUEST_URI);
$id0 = $url_array[0];
$id1 = $url_array[1];
$id2 = $url_array[2];
$id3 = $url_array[3];
$id4 = $url_array[4];
$id5 = $url_array[5];

In the apache settings we forced the server to recognize /page/ as a php file.

__________________
<B>Marcus Adolfsson</B>
Editor


All times are GMT. The time now is 12:09 AM.
Show 20 posts from this thread on one page

Powered by: vBulletin Version 2.3.4
Copyright © Jelsoft Enterprises Limited 2000 - 2016.