View Single Post
  #2 (permalink)  
Old 07-01-03, 12:24 PM
jv2222 jv2222 is offline
The Freshmaker
 
Join Date: Jun 2003
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Code:
$fp = fopen ("http://www.example.com/", "r");

while (!feof ($fp)) 
{
    $buffer = fgets($fp, 4096);
    echo $buffer;
}

fclose ($fp);
Cheers,
Justin
__________________
Author of <a href=http://www.hotscripts.com/Detailed/18290.html target=_blank>ezSQL</a> (makes life soooo easy when working with databases)
Reply With Quote