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);
?>
Related posts:
- download a web page to a file using cURL This example shows how download a web page to a...
- Status code of a web pagewith PHP and cURL this example will display the status code of a web...
- Website status with PHP This example in PHP will use the fsockopen function to...
- Size of a webpage with PHP and cURL This example will get the size of a web page...
- Add to de.licio.us This will allow a user to bookmark a page on...
Related posts brought to you by Yet Another Related Posts Plugin.






















