I want to learn PHP Curl , What is the best resource for it except php.net Also I would like to know the advantage of CURL over general PHP we use Thanks
You may Use the W3 school as an best souce, Because me also referred that only when i started -------------------- Jonathanganesh Hire a php developer
CURL is one of PHP's libraries, it allows you to do stuff like downloading a web page or submitting a form to an URL. Here are a few links: PHP Manual: http://php.net/manual/en/book.curl.php Using CURL to download a page: http://codehill.com/2011/08/download-and-search-multiple-pages-using-php/
cURL has no real advantage for basic URL fetching and is actually more complex for simple url fetching. However, it allows you to make complex requests (specify headers, specify ssl certificates, fetch only headers, and much much more). It is also much faster (about twice as fast for what I was using it for) compared to file_get_contents(). As for resources higherpass.com/php/Tutorials/Using-Curl-To-Query-Remote-Servers/ has a basic yet informative tutorial (make sure to read past page one to see the more advanced capabilities i mentioned).
Have you seen any of the other threads on DP? I doubt this is the most useless one (though it can be answered with a simple google search). The reason I answered the question/bumped it is to answer the question of it's advantage over stdlib php functions.