PHP cURL Tutorial and Example

A simple PHP cURL tutorial and example. Learn how to use curl_init, curl_setopt, and curl_execute. Also learn how to POST data to a remote URL using cURL.

Ready to learn even more PHP? Take my free Beginner’s Guide to PHP video series athttp://www.johnmorrisonline.com/learnphp

Get this source code along with 1000s of other lines of code (including for a CMS, Social Network and more) as a supporting listener of the show at http://www.johnmorrisonline.com/patreon


Originally published at John Morris.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.