Re: file and https
| From: | 1LT John W. Holmes | Date: | Fri, 21 Feb 2003 15:05:16 +0000 |
| Subject: | Re: file and https | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25828@lists.php.net to get a copy of this message | ||
> Has anyone found a way to import data through
> ssl into a php script? If I can pull xml formatted
> data through a secure socket it will save some
> major headaches with a problem I need to solve.
>
> $url = file("https://www.mydomain.com"); Would
> be ideal, but it does not work....
It does work in PHP 4.3 if you have SSL installed also (at least with
fopen). Other options would be to use cURL or make an exec call to Lynx (or
any browser) to retrieve the data.
---John Holmes...