note 14755 added to function.parse-url.php
| From: | php-general at lists dot php dot net | Date: | Mon, 13 Aug 2001 18:05:07 +0000 |
| Subject: | note 14755 added to function.parse-url.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16651@lists.php.net to get a copy of this message | ||
One additional note on Bigdan's use of the $PATH_INFO variable to pass information on to the
script: it tends to mess up $PHP_SELF if the $PATH_INFO contains the name of a php script
Example:
URL: http://host/dir/index.php/foo/bar/index2.php
$PHP_SELF = http://host/dir/index.php/foo/bar/index2.php
and not http://host/dir/index.php as expected
http://www.php.net/manual/en/function.parse-url.php