You are here: Re: [PHP] Re: Curl Question « PHP « IT news, forums, messages
Re: [PHP] Re: Curl Question

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация