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?
library (extension) for HTTP Client ??
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: library (extension) for HTTP Client ??
You an certainly use POST with cURL. I don't know about PUT, but I assume so.
(#10850)
Re: library (extension) for HTTP Client ??
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?
If not please tell me how to use these methods using PHP?
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: library (extension) for HTTP Client ??
There's also fsockopen()