> <?php
>   $output = ""; // Clear output
>   $url = "http://whatever.com/file.html";; // whatever you wanna pull from
> 
>   if ($fp = fopen($url, "r")) {
>     while ($tmp = fget($fp, 4096)) $output .= $tmp;
>     fclose($fp);
>   }
> 
>   echo "The URL's content is: ".$output;
> ?>

erm, don't wanna be nosy, but you meant fgets() - forgot the "s" - didn't
you?

just for others who read that one...

anyway, so it's safe and clean to use this one.

thank you very much!

henning


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to