note 14325 deleted from language.variables.predefined by philip
| From: | philip@php.net | Date: | Mon, 03 Sep 2001 21:39:27 +0000 |
| Subject: | note 14325 deleted from language.variables.predefined by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17580@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?!