Vail, Warren wrote:

How about (probably one of fifty solutions;

Foreach($_POST as $k => $v) $vals[] = $k."=".$v;
$strvals = urlencode(implode("&",$vals));
Header("Location: https://example.com/script.asp?".$strvals);

One thing to think about, URL's are limited in length, and one reason for
using method=post is that they won't fit in a URL, for this you'll need to
make sure they fit.

Warren Vail

You could do that, but for one thing, it doesn't handle arrays. The code snippet in the user notes does.



--
Torben Wilson <[EMAIL PROTECTED]>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to