$PHP_SELF weirdness
| From: | mail.vicnet.net.au | Date: | Fri, 28 Jun 2002 01:53:04 +0000 |
| Subject: | $PHP_SELF weirdness | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-104260@lists.php.net to get a copy of this message | ||
I have two url containing the same php web pages
http://ngvabook/
and
http://dev/ngvabook
ngvabook is the live pages
dev/ngvabook is the test.
both are checked out of CVS and thus the same source
using the dev/ngvabook $PHP_SELF is set to http://dev/ngvabook
when using the http://ngvabook version $PHP_SELF contains all the url
variables that was used to display the currnent page
which breaks my pages
essentially, PHP_SELF carries the url variables in the root directory only,
not within the tree of folders
VERY annoying
Adam