PHP_SELF & SCRIPT_NAME differences
| From: | Jordi Canals | Date: | Tue, 12 Oct 2004 23:13:27 +0000 |
| Subject: | PHP_SELF & SCRIPT_NAME differences | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-199312@lists.php.net to get a copy of this message | ||
Hi all,
I'd like to know the difference by using the $_SERVER['PHP_SELF'] and
$_SERVER['SCRIPT_NAME'] variables. After I read the manual, I have not
found the difference betwen the two when used in a Web Script. Also,
in all tests I've done, I get the same result in both variables.
Any comment will be welcome,
Jordi.