Bug #11059 Updated: PHP does not register GET variables $HTTP_GET_VARS is empty. POST works OK.

From: Date: Wed, 23 May 2001 17:35:13 +0000
Subject: Bug #11059 Updated: PHP does not register GET variables $HTTP_GET_VARS is empty. POST works OK.
Groups: php.dev 
Request: Send a blank email to php-dev+get-56515@lists.php.net to get a copy of this message
ID: 11059 User Update by: bub@seznam.cz Old-Status: Feedback Status: Open Bug Type: Feature/Change Request Operating system: RedHat 5.1 PHP Version: 4.0.5 Description: PHP does not register GET variables $HTTP_GET_VARS is empty. POST works OK. the link is generated in one document like this: board.php echo("<a href=\"drop.php?id=" . urlencode($data["n_id"]) ."\"> DROP</a>\n"); . and in drop.php?id=1 variable $HTTP_GET_VARS is not set. if (isset($HTTP_GET_VARS["id"])){ $n_id = $HTTP_GET_VARS["id"]; }else{ $n_id = 0; } This worked on WinNT5.0 with apache 1.3.14 and PHP 4.0.4pl1 as a module. I've compiled apache and PHP as a static module. ./cofigure --with-mysql --with-apache=../apache_1.3.19 Previous Comments: --------------------------------------------------------------------------- [2001-05-23 12:50:45] sniper@php.net Works for me just fine. Can you please add a shortest possible script into this report which can be used to reproduce this problem? --Jani --------------------------------------------------------------------------- [2001-05-23 12:38:18] bub@seznam.cz I have this problem: PHP does not register GET variables. $HTTP_GET_VARS is empty. POST works OK. PHP 4.05 is compiled as Apache 1.3.19 module on linux RH 5.1 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=11059

« previous php.dev (#56515) next »