i'm trying to make a POST request to my merchant's https server using the following:
foreach($HTTP_POST_VARS as $key => $value){ $value = urlencode(stripslashes($value)); $req .= "&$key=$value"; } $header .= "POST /gw/native/direct2.1 HTTP/1.0\r\n"; $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; $header .= "Content-Length: ".strlen($req)." \r\n\r\n"; $fp = fsockopen('ssl://secure.netbilling.com', 443, $errno, $errstr, 30); if(!$fp){ echo $errstr($errno); } else { fputs($fp, $header . $req); while(!feof($fp)){ $res = fgets($fp, 1024); } fclose($fp); } but I get following error: Warning: fsockopen() [function.fsockopen]: no SSL support in this build in /usr/home/trivisions/html/sextoymerchant.com/payment/checkout_confirm.ph p on line 64 So does this mean that my PHP installation does not support SSL, and that I have to recompile PHP again? I looked at the PHP installation configure options but did not see anything regarding SSL, so how would I install this? I am running PHP Version 4.3.1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php