Re: HTTP Get with PHP

From: Date: Wed, 11 Oct 2000 22:57:36 +0000
Subject: Re: HTTP Get with PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19725@lists.php.net to get a copy of this message
On Thu, 12 Oct 2000, Steve Farmer wrote: > is it possible to use php to do a https: get , i.e. to have it > emulate a browser. I need to regularly poll a remote site an > retrieve files with https. I'm not sure if you can get files by running this: fopen("https://domain.com/file.tar.gz"); But you can certainly use this : exec("/path/to/lynx https://domain.com/file.tar.gz"); Or even exec("/path/to/wget https://domain.com/file.tar.gz"); Regards, Joao -- Joao Prado Maia Web Developer Kefta, Inc. T: (415) 391-6881 ext 8008 F: (415) 391-7079

« previous php.general (#19725) next »