> erm, don't wanna be nosy, but you meant fgets() - forgot the "s" - > didn't you?
Yes I did (early-morning-itis I guess heh). Thanks for the typo correction ;) Ammended code is as follows: >> <?php >> $output = ""; // Clear output >> $url = "http://whatever.com/file.html"; // whatever you wanna pull >> from >> >> if ($fp = fopen($url, "r")) { >> while ($tmp = fgets($fp, 4096)) $output .= $tmp; >> fclose($fp); >> } >> >> echo "The URL's content is: ".$output; >> ?> -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php