PHP 5 - $_REQUEST undefined???
| From: | Marcus Bointon | Date: | Sun, 08 Aug 2004 21:37:50 +0000 |
| Subject: | PHP 5 - $_REQUEST undefined??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-193147@lists.php.net to get a copy of this message | ||
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.
Any ideas?
Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk