Re: POST Variables get passed as GET variables.

From: Date: Thu, 05 Jun 2003 00:13:20 +0000
Subject: Re: POST Variables get passed as GET variables.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150284@lists.php.net to get a copy of this message
This has absolutley nothing to do with PHP, and is a client-side issue. Michael A Smith wrote:
Hey, So I've got this form that passes POST variables. However, they keep getting passed as get variables. Example: <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <input type="hidden" name="action" value="something"> <input type="submit" value=" Action "> </form> Get's sent to it as: url.php?action=something What's going on here? This is a new installation of PHP 4.3.1, Apache 1.3... -Michael
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#150284) next »