Re: POST vs GET?
| From: | Yasuo Ohgaki | Date: | Thu, 07 Feb 2002 04:55:23 +0000 |
| Subject: | Re: POST vs GET? | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5945@lists.php.net to get a copy of this message | ||
ejfs@sympatico.ca wrote:
Hi. I'm a newbie at this and am having problems understanding how this works. I have a form with method="post". The server program does display REQUEST_STRING as I expect (e.g., choice=yes but displaying HTTP_POST_VARS["choice"] is null. However, displaying HTTP_GET_VARS["choice"] does display "yes". Running phpinfo() displays that the REQUEST_METHOD = GET. Why is this GET and how do I get it set to POST? How do I get HTTP_POST_VARS to work? Here are some php.ini settings (I'm running PHP 4.1.1 with Apache 1.3.22 under Win98): variables_order = "EGPCS" register_globals = On register_argc_argv = On gpc_order = "GPC" Thanks...This list is not a right list for this question. Ask install/configration related problems here. Try php-general@lists.php.net. I recommend to buy a PHP book.... -- Yasuo Ohgaki