Could you give me some addition information regarding this?
I looked into the first link you supplied, and it makes me think you have the wrong idea as to what I wish to do.
I'm not trying to submit a local form through a secure connection, I'm trying to submit a remote form (The login form on Paypal, in this instance.)
The php I use for remote [url]http://[/url] submittions is something like-
<?
$req = 'Username=Foxhoundx&Password=mypass';
$fp = fsockopen ("www.xaev.com", 80, $errno, $errstr, 30);
$header .= "POST /test.php HTTP/1.0\r\n";
$header .= "Content-Type: application/x-www-form-urlencoded\r\n";
$header .= "Content-Length: " . strlen($req) . "\r\n\r\n";
fputs ($fp, $header . $req);
$content = "";
while (!feof($fp)) {
$line = fgets($fp, 1024);
$length = hexdec($line);
$content .= @fread($fp, $length);
}
fclose($fp);
Which works fine, but I don't believe it would work on a secure server.
Is there any other way I could do this? I was thinking I could make a C++ program which would do it, then execute via exec();, however, I'm unsure of how to do this as well. I could easily do it with visual basic, but I'm unsure of how to get the result to the php page. 😛
Thanks.