Re: Re: QUERY_STRING Variables and POST
| From: | Michael B Allen | Date: | Thu, 08 Dec 2005 23:53:56 +0000 |
| Subject: | Re: Re: QUERY_STRING Variables and POST | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227164@lists.php.net to get a copy of this message | ||
Solved. My mistake. I was visiting the form with a URL that had
QUERY_STRING parameters but when I submit the form the QUERY_STRING is
not propagated.
In my particular case I replaced the form tag with the following PHP:
<?php
echo "<form action=\"" . $_SERVER['REQUEST_URI'] . "\"
method=\"post\">";
?>
Also, regarding my original question, I think parse_str is what I want.
Thanks,
Mike