Re: Use of undefined constant PHP_SELF - assumed 'PHP_SELF'
| From: | Leif K-Brooks | Date: | Mon, 02 Jun 2003 21:41:08 +0000 |
| Subject: | Re: Use of undefined constant PHP_SELF - assumed 'PHP_SELF' | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149848@lists.php.net to get a copy of this message | ||
http://us3.php.net/types.array#language.types.array.foo-bar
Øystein Håland wrote:
What's the difference (and what's correct)? With the use of error_reporting = E_ALL in php.ini I get an error as mentioned above. In the code I use $_SERVER[PHP_SELF]. Changing this to $_SERVER['PHP_SELF'] report no error but with error_reporting = E_ALL & ~E_NOTICE anything goes. (Apache/2.0.46 (Win32) PHP/4.3.2 on Win2000 pro)-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.