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

From: Date: Thu, 24 May 2001 17:22:27 +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-56646@lists.php.net to get a copy of this message
ID: 11059 User Update by: bub@seznam.cz Status: Open Bug Type: Variables related 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. It doesn't work either and $PHP_SELF is empty as well. I did not know that, because I didn't use it my scripts. Previous Comments: --------------------------------------------------------------------------- [2001-05-24 13:14:30] bub@seznam.cz It doesn't work either and $PHP_SELF is empty as well. I did not know that, because I didn't use it my scripts. --------------------------------------------------------------------------- [2001-05-24 12:48:57] cardinal@php.net The system speed wouldn't impact behavior, no. Your script refers to $data['n_id'] though, not $data['id']. Let's remove any confusion and work with a very basic script: <a href="<? echo $PHP_SELF ?>"?getvariable=working>Click here</a> Getvariable is: <? echo $HTTP_GET_VARS['getvariable'] ?> Try that one out. --------------------------------------------------------------------------- [2001-05-24 03:22:17] bub@seznam.cz valiables_order is set to EGPCS. I tried EPCSG but it did not work either. $data["id"] was non empty. The computer in question is i486 with 12 MB RAM. Could that be a problem? --------------------------------------------------------------------------- [2001-05-23 17:54:47] cardinal@php.net Was $data['n_id'] non-empty in board.php? Your script works fine for me when I add $data['n_id'] = 1; --------------------------------------------------------------------------- [2001-05-23 16:48:03] sniper@php.net What is the setting for this directive in your php.ini: variables_order --Jani --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=11059

« previous php.dev (#56646) next »