Page 1 of 1

library (extension) for HTTP Client ??

Posted: Sat Mar 29, 2008 2:57 pm
by claws
Hello Forum,

I want to know like in perl, does PHP also have library for implementing HTTP Client Functionalities ?
like LWP (short for "Library for WWW in Perl").
Using CURL can we use HTTP GET but can we use HTTP POST/PUT method?

Re: library (extension) for HTTP Client ??

Posted: Sat Mar 29, 2008 3:42 pm
by Christopher
You an certainly use POST with cURL. I don't know about PUT, but I assume so.

Re: library (extension) for HTTP Client ??

Posted: Sat Mar 29, 2008 6:02 pm
by claws
So, Is it that using CURL we can use complete HTTP Protocol Methods(OPTIONS ,GET,HEAD,POST,PUT,DELETE,TRACE,CONNECT) ?

If not please tell me how to use these methods using PHP?

Re: library (extension) for HTTP Client ??

Posted: Sat Mar 29, 2008 6:10 pm
by John Cartwright
There's also fsockopen()