> How do I gather up all the variables in $_POST and attach them as a > string after the question mark? Thanks.
this is untested:
$arr = array();
foreach($_POST as $key => $value) {
$arr[] = $key.'='.urlencode($value);
}
$URL = "https://example.com/script.asp?".implode('&',$arr);
header("Location: $URL\n");
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

