Posted by lawrence k on 05/19/06 05:06
Jerry Stuckle wrote:
> 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()?
> >
>
> Ever tried to post info to another page strictly through PHP?
>
> Curl takes care of some of the overhead. Obviously you can do anything in PHP
> that you can in Curl. Curl just makes things easier.
Yes. I used fsocketopen. I think it took less than 20 lines of code, so
how much simpler could Curl make it?
[Back to original message]
|