Re: [PHP] using sendtohost on a secure site

2002-02-20 Thread bvr
The answer to this and many related questions is: Use CURL. See manual. bvr. >Is great for posting results to a regular http site. But what I need to do >is post to a secure site (https). I looked through some of the php >documentation and couldn't find anything about manually encrypting the

RE: [PHP] using sendtohost on a secure site

2002-02-20 Thread Jason Murray
> The function sendtohost: [snip] > Is great for posting results to a regular http site. But > what I need to do is post to a secure site (https). At that point, you'll want to look into using CURL extensions to PHP. http://www.php.net/manual/en/ref.curl.php Jason -- PHP General Mailing L

[PHP] using sendtohost on a secure site

2002-02-20 Thread Jeremy Reed
The function sendtohost: -BEGIN CODE function sendToHost($host,$method,$path,$data,$useragent=0) { // Supply a default method of GET if the one passed was empty if (empty($method)) $method = 'GET'; $method = strtoupper($method); $fp = fsockopen($host,443); echo("open"); if ($metho