hi guys, Can anyone help me to explain how curl library works in php. I have no clue how it works. thanks
http://en.wikipedia.org/wiki/CURL explains cURL. Libraries are a whole different thing. (I'm not sure if you're asking how cURL works or how libraries work.) BTW, cURL is a command-line program. The library version is called libcurl.
cURL is a computer software project providing a library and command-line tool for transferring data using various protocols. The cURL project produces two products, libcurl and cURL. For more details http://en.wikipedia.org/wiki/CURL
cURL is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS.
curl allows you to connect and communicate to many different types of servers with many different types of protocols. libcurl currently supports the http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading (this can also be done with PHP's ftp extension), HTTP form based upload, proxies, cookies, and user+password authentication. Go through php manual for curl for more details. sheetal
Curl is used to connect and communicate with many different types of servers with various types of protocols like http, ftp, https, telnet, gopher, etc. You can search internet to know about the working of a curl library.