#29263 [Fbk->NoF]: Data not in $_REQUEST, but in $_POST or $_GET
| From: | php-bugs at lists dot php dot net | Date: | Mon, 14 Mar 2005 00:00:16 +0000 |
| Subject: | #29263 [Fbk->NoF]: Data not in $_REQUEST, but in $_POST or $_GET | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75289@lists.php.net to get a copy of this message | ||
ID: 29263
Updated by: php-bugs@lists.php.net
Reported By: dino at kataris dot de
-Status: Feedback
+Status: No Feedback
Bug Type: Variables related
Operating System: Linux Debian
PHP Version: 5.0.0
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2005-03-06 20:51:08] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2004-08-19 22:55:41] marcus at synchromedia dot co dot uk
I just found this bug, which seems to be the same thing,
but is getting more attention:
http://bugs.php.net/bug.php?id=29176
------------------------------------------------------------------------
[2004-08-19 22:47:42] marcus at synchromedia dot co dot uk
I'm seeing exactly the same problem but running on a new
install of RedHat EL 3 with a fresh compile of PHP 5.0.1
The code I've been using (slightly more obvious than
previous example):
<?php
var_dump($_REQUEST);
var_dump($_GET);
?>
using test.php?a=1&b=2:
NULL
array(2) {
["a"]=>
string(1) "1"
["b"]=>
string(1) "2"
}
It's acting like EGPCS options are empty (they are set
correctly in my php.ini)?
------------------------------------------------------------------------
[2004-08-09 18:05:23] jsgoupil at lookstrike dot com
Working fine for me ... PHP5.0.0
Even with your code.
------------------------------------------------------------------------
[2004-07-19 18:45:45] dino at kataris dot de
Description:
------------
I think I don't have to say more as in the summary I wrote,...
Data not in $_REQUEST, but in $_POST or $_GET
Reproduce code:
---------------
// works:
$page = 'start';
if(isset($_POST['page']))
{
$page = $_POST['page'];
}
if(isset($_GET['page']))
{
$page = $_GET['page'];
}
// doesn't works:
$page = 'start';
if(isset($_REQUEST['page']))
{
$page = $_REQUEST['page'];
}
Expected result:
----------------
The variable $page should have the value of the data, the script
request ;)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29263&edit=1