[PHP] Re: Getting data over https?

2001-09-18 Thread Chris Lee

php doesnt support https url-wrappers. grab the data with an external app
maybe, it'll be ugly.

exec('lynx -source https://www.pilotmedia.fi/  /tmp/somefile.txt');
fopen('/tmp/somefile.txt', 'r');
unlink('/tmp/somefile.txt');

--

  Chris Lee
  [EMAIL PROTECTED]



Ville Mattila [EMAIL PROTECTED] wrote in message
000b01c13fa0$fe139ce0$0100a8c0@ville">news:000b01c13fa0$fe139ce0$0100a8c0@ville...
Hi there,

Is there a way to get data over https-protocol as can be done with
file(http://www.pilotmedia.fi/;) -function with normal http-protocol? Or
some other way?

- Ville

.
Ville Mattila
Ikaalinen, Finland
[EMAIL PROTECTED]
www.pilotmedia.fi





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Getting data over https?

2001-09-18 Thread Ville Mattila

Thanks Chris, but I'm using Win32 at the moment... The solution should anyway be 
compatible with Win32 as well as Linux/Unix. But anyway mainly with Win32.

- Ville


Chris Lee [EMAIL PROTECTED] kirjoitti viestissä 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 php doesnt support https url-wrappers. grab the data with an external app
 maybe, it'll be ugly.
 
 exec('lynx -source https://www.pilotmedia.fi/  /tmp/somefile.txt');
 fopen('/tmp/somefile.txt', 'r');
 unlink('/tmp/somefile.txt');



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]