Thanks all.. John - What do you mean have SSL installed? Does PHP have a SSL module? I'm already running 4.3.1 so I'm fine there. Also, this is quite database related as the intention is to access data on a remote server through a secure connection. XML is arguably a database protocol. :-) <>< Ryan -----Original Message----- From: 1LT John W. Holmes [mailto:holmes072000@charter.net] Sent: Friday, February 21, 2003 8:05 AM To: Ryan Jameson (USA); php-db@lists.php.net Subject: Re: file and https > 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... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php