Empty $_REQUEST
| From: | Robert Paulsen | Date: | Tue, 27 Jan 2009 18:12:49 +0000 |
| Subject: | Empty $_REQUEST | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-287225@lists.php.net to get a copy of this message | ||
Hi,
I have a apache2/php app written for php version 4 and have moved it to a
system running php version 5:
Old: PHP 4.3.10
New: PHP 5.2.6 with Suhosin-Patch 0.9.6.2
When I run the app I find that $_REQUEST is almost empty. it contains
PHPSESSID but none of the data submitted through an html form.
/etc/php5/apache2/php.ini has both:
variables_order = "GPCS"
request_order = "GPCS"
(I added the 2nd line just to be sure.)
Is there something else that needs to be turned on to get form data into
$_REQUEST?
An dd thing: If I issue phpinfo() before print_r($_REQUEST); then $_REQUEST
does contain all my form data!