RE: [PHP] Notice: Undefined variable: PHP_SELF
| From: | John W. Holmes | Date: | Thu, 29 May 2003 02:46:25 +0000 |
| Subject: | RE: [PHP] Notice: Undefined variable: PHP_SELF | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149340@lists.php.net to get a copy of this message | ||
> I am having problem with a PHP page on our web site.
> I've installed the latest version of PHP on a Windows 2000 server.
>
> The error we're getting is:
> Notice: Undefined variable: PHP_SELF
>
> Where do I start to fix this problem?
Read the release notes. Register_globals is OFF. Use
$_SERVER['PHP_SELF'].
---John W. Holmes...
Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/