note 14325 added to language.variables.predefined.php
| From: | jemptyg at rwmc dot net | Date: | Thu, 26 Jul 2001 18:40:41 +0000 |
| Subject: | note 14325 added to language.variables.predefined.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15878@lists.php.net to get a copy of this message | ||
RE: Using strrchr($PHP_SELF, "/")
Since this only returns everything from the LAST slash on, it will only work if the script is in the
web server's document root!!
Perhaps <form action="<?$REQUEST_URI;?>"> (instead of $PATH_INFO) will work
across all platforms?!
http://www.php.net/manual/en/language.variables.predefined.php