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
> 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
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
3 matches
Mail list logo