On Tue, Jan 03, 2006 at 01:52:44PM -0700, Ray Hauge wrote: > Hello everyone, > > I just wanted to see if anyone knew if there was any difference in > performance between using curl in an exec() statement and when using the > libCurl functions within PHP. You might notice a difference if you loop though the code 100,000 times or so. One advantage of using libCurl vs exec() is that you dont have to worry about where the location of the actual 'curl' binary is: exec('/usr/local/bin/curl'); exec('/usr/bin/curl'); exec('/bin/curl'); exec('C:/windows/curl.exe'); exec('C:/Program Files/Curl/curl.exe'); exec('X:/shared apps/curl/curl.exe')' etc.. With libCurl, you just ensure that curl is enabled in php. Curt. -- cat .signature: No such file or directory -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php