View Single Post
  #2 (permalink)  
Old 10-04-2004, 08:12 AM
speed speed is offline
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Cornwall, UK
Posts: 972
speed RepRank 1
Default

Code:
<?php

ob_start();
passthru("curl -s www.google.com");
$var = ob_get_contents();
ob_end_clean();

echo "-- START --\n\n$var\n\n-- END --\n";
?>
The variable $var holds the page data.
Reply With Quote