cURL

Error message

Deprecated function: Function create_function() is deprecated in GeSHi->_optimize_regexp_list_tokens_to_string() (line 4698 of /home/digipiph/public_html/sites/all/libraries/geshi/geshi.php).

Setup a simple cURL connection to POST data using PHP

cURL is used to send "POST" data from one web page to another behind the scenes.

If cURL is enabled on your server, it is fairly easy to setup. I had trouble finding a page that broke setting up a cURL connection down to its most simplest form by showing a cURL example, so I decided to post a page for it.

Example: cURL setup with PHP

Subscribe to RSS - cURL