|  | Posted by Ray Hauge on 01/04/06 00:22 
Thanks for the info!
 Manuel Lemos wrote:
 
 > Hello,
 >
 > on 01/03/2006 06:52 PM Ray Hauge said the following:
 >
 >> 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.
 >
 >
 > Executing a separate program should be a little slower as it adds some
 > overhead before executing a request. Actually, in some cases it can be
 > a little faster to use fsockopen instead of libcurl as it is one less
 > library to load.
 >
 > You may also want to take a look at this HTTP client class that uses
 > fsockopen everytime it is possible and only uses libcurl functions in
 > certain cases. This class takes care of cookie handling, redirection,
 > form posting, file uploading, etc..
 >
 > http://www.phpclasses.org/httpclient
 >
 >
  Navigation: [Reply to this message] |