Re: using CURL in NT?

From: Date: Mon, 21 Aug 2000 06:19:18 +0000
Subject: Re: using CURL in NT?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12718@lists.php.net to get a copy of this message
exec("/usr/local/bin/curl -s $args, $results); will do it. $args contains the name of the site...you get the stuff in $results. "WILSON, Nick" wrote: > > I'm only using it on Linux but it should be pretty similar, I'm using > the passthru() function with the output written to a file, eg > > passthru("/usr/local/bin/curl $args $site > curl.txt", $res); > > Then opening the file and reading it. This must be slower than ideal > and there must be an easier way but hey it works. You could try > exec maybe ? > > > -----Original Message----- > > From: Ben Heuer [mailto:ben_heuer@artlover.com] > > Sent: Sunday, 20 August 2000 17:07 > > To: Php-General > > Subject: [PHP] using CURL in NT? > > > > > > Hi, > > > > I want to use CURL in an NT environment. I can use it from > > the DOS prompt, > > but I dont know how to use it within PHP. Would appreciate > > any code samples > > or pointers. > > > > Thanks! > > Ben > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: > > php-list-admin@lists.php.net > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#12718) next »