From:             dino at kataris dot de
Operating system: Linux Debian
PHP version:      5.0.0
PHP Bug Type:     Variables related
Bug description:  Data not in $_REQUEST, but in $_POST or $_GET

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 bug report at http://bugs.php.net/?id=29263&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29263&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29263&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29263&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29263&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29263&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29263&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29263&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29263&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29263&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29263&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29263&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29263&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29263&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29263&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29263&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29263&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29263&r=float

Reply via email to