POST Variables get passed as GET variables.
| From: | Michael A Smith | Date: | Thu, 05 Jun 2003 00:13:54 +0000 |
| Subject: | POST Variables get passed as GET variables. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150281@lists.php.net to get a copy of this message | ||
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