Putting $_POST into string to send to ASP
| From: | Jeff Oien | Date: | Fri, 16 Jul 2004 18:27:24 +0000 |
| Subject: | Putting $_POST into string to send to ASP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-190738@lists.php.net to get a copy of this message | ||
Dumb question, sorry if it's a repeat. I will use PHP for a form with error checking. When there are no errors I need to send all the variables thru something like this:
$URL = "https://example.com/script.asp?First=Jim&Last=Smith";
urlencode($URL);
header("Location: $URL\n");
How do I gather up all the variables in $_POST and attach them as a string after the question mark? Thanks.
Jeff