Hey thanks,it worked!
I just have a question as to how I can besure that the socket is a secure socket.
Here is a sample of the code that worked. Is this secure, and if not how to I make it so?
$fp = fsockopen ("digitalconcept.safeserver.com", 80);
if ($fp) {
fputs ($fp, "
POST /cpm/result.php HTTP/1.1
Host: digitalconcept.safeserver.com
Content-Length: 18
Content-Type: application/x-www-form-urlencoded
Connection: Close
cc=12345&amt=50.95
");
while (!feof($fp)) echo fgets ($fp,128);
fclose ($fp);
}
I tried https://digitalconcept.safeserver.com (the way you'd type it into your browser) but that didn't work returned (0) for connection.
again with much gratitude,
Sam Fullman