In plain english, can't use the header("Location: ****"), so have to use the fsockopen() instead. Just that header() is not allowed, don't ask me why. Just couldn't get the browser perform the HTTP LOCATION event. It does work when using fsockopen() for HTTP POST or GET as stated in the http://us2.php.net/manual/en/function.fsockopen.php with the user's comment. What could be more difficult than this?
--snip-- $host = "192.168.0.2"; $port = 443; $url_str = "ssl://www.whatever.com?str1=true&str2=false&str3=true"; $fp = fsockopen("ssl://".$host, $port, $errno, $errstr, $timeout = 30); if(!$fp){ echo "$errstr ($errno)\n"; }else{ //send out to the browser..... fputs($fp, "Location: ".$url_str."\r\n"); fclose($fp); } FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php