Reply to Re: when does it ever make sense to use curl?

Your name:

Reply:


Posted by Chung Leong on 05/18/06 08:31

lawrence k wrote:
> I'm reading over this page:
>
> http://www.php.net/manual/en/ref.curl.php
>
> What I'm missing is why? What problem does curl solve? What does it
> make easier? When would I use its functions, instead of simpler
> functions like file() or fsocketopen()?

I am pretty sure that you can't connect to a web server through a proxy
using a file stream. CURL also offers better backward compatibility.
You can't, for instance, do a HTTP POST using a stream context until
4.3.4 (IIRC).

[Back to original 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

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