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]
|