Re: Getting https-page
| From: | Chris Shiflett | Date: | Mon, 20 Jan 2003 15:30:01 +0000 |
| Subject: | Re: Getting https-page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132248@lists.php.net to get a copy of this message | ||
--- 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