Introductions
A library that 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
Requirement
PHP requires that you use libcurl 7.0.2-beta or higher
Resource type
This extension defines two resource types: a cURL handle and a cURL multi handle.
There are many curl functions are available.
The basic idea behind the cURL functions is that you initialize a cURL session using the curl_init(), then you can set all your options for the transfer via the curl_setopt(),
Example
$ch = curl_init("http://www.test.com/");
$fp = fopen("example_homepage.txt", "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
CURL FUNCTIONS AND CONSTANTS
Constants — Curl Predefined Constants
curl_close — Close a cURL session
curl_copy_handle — Copy a cURL handle along with all of its preferences
curl_errno — Return the last error number
curl_error — Return a string containing the last error for the current session
curl_exec — Perform a cURL session
curl_getinfo — Get information regarding a specific transfer
curl_init — Initialize a cURL session
curl_multi_add_handle — Add a normal cURL handle to a cURL multi handle
curl_multi_close — Close a set of cURL handles
curl_multi_exec — Run the sub-connections of the current cURL handle
curl_multi_getcontent — Return the content of a cURL handle if CURLOPT_RETURNTRANSFER is set
curl_multi_info_read — Get information about the current transfers
curl_multi_init — Returns a new cURL multi handle
curl_multi_remove_handle — Remove a multi handle from a set of cURL handles
curl_multi_select — Get all the sockets associated with the cURL extension, which can then be "selected"
curl_setopt_array — Set multiple options for a cURL transfer
curl_setopt — Set an option for a cURL transfer
curl_version — Gets cURL version information
This was really interesting to read.
Thanks for the wonderful article.
Thank you for the great post.
What an insightful article. Thanks for sharing.
Thank you for the interesting article.
What an interesting post. Thank you for sharing.
What an interesting post. Thanks for sharing.
Thanks for the great post.
What a great post. Thank you for sharing.
What a great post. Thanks for sharing.
What an insightful post. Thank you for sharing.
Your post was very interesting. Thank you.
What a great post. Thank you for sharing.
Nice little write up. Thanks! :)
Thanks for the great article.
Your post was interesting. Thanks for taking the time.
Your post was very interesting. Thank you.
Thank you for the wonderful post.
What an insightful article. Thank you for sharing.
What an insightful post. Thank you for sharing.
Thanks for the great post.
Your post was very interesting. Thank you.
What an interesting post. Thank you for sharing.
Thank you for the wonderful post.
Thank you for the great post.
What a great post. Thank you for sharing.
What an interesting post. Thank you for sharing.
Hey, thanks for posting. Good stuff
It is best to be off with the old love before you are on with the new.
A round of applause for your article.Much thanks again. Will read on...
Very good blog article.Really looking forward to read more. Awesome.
Great post.Much thanks again. Fantastic.
Thanks again for the blog.Thanks Again. Want more.
Thanks a lot for the article.Thanks Again. Really Cool.
Very informative article post.Thanks Again. Awesome.
I cannot thank you enough for the blog.Much thanks again. Fantastic.
A round of applause for your article post.Much thanks again. Will read on...
Major thankies for the post.Much thanks again. Awesome.
Very neat article.Thanks Again. Cool.
Major thanks for the article.Thanks Again. Want more.
Say you got a nice article. Really Cool.
A round of applause for your post.Much thanks again. Really Great.
Major thanks for the blog article.Really looking forward to read more. Keep writing.
A round of applause for your blog.Really thank you! Great.
Muchos Gracias for your blog article. Awesome.
I really liked your article post.Much thanks again. Cool.
I loved your blog post.Really thank you! Really Cool.
I really enjoy the post.Thanks Again. Really Great.
Thanks-a-mundo for the blog.Really looking forward to read more. Will read on...
I think this is a real great blog post.Really thank you! Much obliged.
Major thankies for the article post.Really thank you! Keep writing.
Enjoyed every bit of your article post.Really thank you!
Major thankies for the article post.Thanks Again. Want more.
This is one awesome blog article.Thanks Again.
I really enjoy the blog post.Thanks Again. Keep writing.
Thanks again for the article.Much thanks again. Much obliged.
Thanks again for the post.Really looking forward to read more. Much obliged.
Really appreciate you sharing this post.Really thank you! Want more.
Thanks for the article.Thanks Again. Awesome.
Really appreciate you sharing this article.Thanks Again. Want more.
I am so grateful for your blog article.Really looking forward to read more. Keep writing.
Really appreciate you sharing this blog article.Much thanks again.
I really liked your blog article.Thanks Again. Keep writing.
Fantastic blog post.Much thanks again. Fantastic.
Really informative article post.Really thank you! Cool.
Awesome article. Cool.
Im thankful for the blog post.Really thank you! Really Great.
Enjoyed every bit of your blog.Much thanks again.
Thanks a lot for the blog article.Thanks Again. Awesome.
wow awesome article.Thanks Again.
Thanks a lot for the article post. Will read on...
Hey thanks for the blog article.Really thank you! Fantastic.
Really informative blog article.Really thank you! Will read on...
Great blog post.Really thank you! Great.