Re: PHP_SELF Undefined
| From: | Greg Donald | Date: | Tue, 19 Feb 2002 06:04:34 +0000 |
| Subject: | Re: PHP_SELF Undefined | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-85348@lists.php.net to get a copy of this message | ||
> When I execute the code below, why is PHP_SELF undefined? I will
appretiate
> any help on this. I can get its value by:
> echo $_SERVER["PHP_SELF"]; Thanks in advance! -Teresa
Is your PHP install >= version 4.1.0 ?
You can test with a call to phpinfo();
If your version is less than 4.1.0, try the global variable $PHP_SELF
instead.
------------------------------------------------------------------------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
------------------------------------------------------------------------