Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NETTUTS.com:
Techniques for Mastering cURL
Jan 11, 2010 @ 15:30:08

In a recent tutorial from NETTUTS.com Burak Guzel shows you how to get the most out of using the curl extension with PHP to handle things like remote requests, file uploads and handling multiple curl requests at the same time.

cURL is a tool for transferring files and data with URL syntax, supporting many protocols including HTTP, FTP, TELNET and more. Initially, cURL was designed to be a command line tool. Lucky for us, the cURL library is also supported by PHP. In this article, we will look at some of the advanced features of cURL, and how we can use them in our PHP scripts.

He starts off with the basics, making a request and getting some information about the connection, before moving on to some more complex features - detecting redirection, POSTing values to a remote site and the creation of a WordPress link checker.

tagged: curl tutorial extension

Link:


Trending Topics: