Re: PHP 5 - $_REQUEST undefined???
| From: | John Holmes | Date: | Sun, 08 Aug 2004 21:48:24 +0000 |
| Subject: | Re: PHP 5 - $_REQUEST undefined??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193148@lists.php.net to get a copy of this message | ||
Marcus Bointon wrote:
I'm getting errors like this: Notice: Undefined variable: _REQUEST in /var/www/html/index.php on line 57 This is truly weird - why on earth would this superglobal be undefined? (and there is no unset($_REQUEST) lurking!) As far as I'm aware, there isn't even an ini option to turn it off. I'm in the process of upgrading from PHP4 to 5, and this script works ok in 4 - the error is just in 5.See if it's a mod_bandwidth problem like in the "POST superglobal is empty" thread we've been seeing all week. -- John Holmes php|architect - The magazine for PHP professionals - http://www.phparch.com