Re: Getting https-page
| From: | Kenneth Brill | Date: | Mon, 20 Jan 2003 16:08:49 +0000 |
| Subject: | Re: Getting https-page | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132258@lists.php.net to get a copy of this message | ||
I would just read up on the CURL functions and either use them or get CURL
and use it externally.
"Chris Shiflett" <shiflett@php.net> wrote in message
news:20030120153001.50858.qmail@web14306.mail.yahoo.com...
> --- Martin Thoma <martin@radiok2r.de> 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 hostname with either 'ssl://' or
> 'tls://' to use an SSL or TLS client connection over TCP/IP
> to connect to the remote host."
>
> I'm sure you could use the openssl functions, but this
> sounds much easier.
>
> Chris