#29263 [Com]: Data not in $_REQUEST, but in $_POST or $_GET

From: Date: Mon, 09 Aug 2004 16:05:25 +0000
Subject: #29263 [Com]: Data not in $_REQUEST, but in $_POST or $_GET
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-64318@lists.php.net to get a copy of this message
ID: 29263 Comment by: jsgoupil at lookstrike dot com Reported By: dino at kataris dot de Status: Open Bug Type: Variables related Operating System: Linux Debian PHP Version: 5.0.0 New Comment: Working fine for me ... PHP5.0.0 Even with your code. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#64318) next »