Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 540086ec01
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.442 kb
<?php
$ch = curl_init();
// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, "http://php5.bitflux.org/local.php");
//curl_setopt($ch, CURLOPT_URL, "http://www.planet-php.org/ping/local.php");
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1) ;
curl_setopt($ch, CURLOPT_HEADER, 0);
// grab URL and pass it to the browser
$res = curl_exec($ch);
print $res;
// close cURL resource, and free up system resources
curl_close($ch);
Jump to Line
Something went wrong with that request. Please try again.