> You can easily get an webpage with:
> $fp = fopen("http://www.mydomain.com/";, "r");
> if ($fp) exit;
> while(!feof($fp))
> { $line .= fgets($fp, 4096);
> }
> fclose($fp);
> print $line;
>
> But this doesn't work with https (SSL). How can I get an https-page?
Use PHP 4.3.0 with OpenSSL e
PROTECTED]]
Sent: Monday, January 20, 2003 7:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Getting https-page
Hello!
You can easily get an webpage with:
$fp = fopen("http://www.mydomain.com/";, "r");
if ($fp) exit;
while(!feof($fp))
{ $line .= fgets($fp, 4096);
}
fclose($fp);
pr
I would just read up on the CURL functions and either use them or get CURL
and use it externally.
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> --- Martin Thoma <[EMAIL PROTECTED]> wrote:
> > How can I get an https-page?
>
> I have never test
--- Martin Thoma <[EMAIL PROTECTED]> wrote:
> How can I get an https-page?
I have never tested this myself, but I found this page in
the manual:
http://www.php.net/manual/en/function.fsockopen.php
It has this to say:
"As of PHP 4.3.0, if you have compiled in OpenSSL support,
you may prefix the
Hello!
You can easily get an webpage with:
$fp = fopen("http://www.mydomain.com/";, "r");
if ($fp) exit;
while(!feof($fp))
{ $line .= fgets($fp, 4096);
}
fclose($fp);
print $line;
But this doesn't work with https (SSL). How can I get an https-page?
Martin
--
PHP General Mailing List (h
5 matches
Mail list logo