Categories

Thousands of experts bid on your personal project at ScriptLance.com

PHP and cURL example

<?php
//the site or URL to get
$ch = curl_init(""http://www.google.com/"");
//set the options for the transfer
curl_setopt($ch, CURLOPT_HEADER, 0);
//execute the session
curl_exec($ch);
//free up system resources !!IMPORTANT
curl_close($ch);
?>

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

You must be logged in to post a comment.