ok, this does work, but like you say, assumes that it is full of html.
thanks for the solution, but iv hit the problem where im now going to need to run the php in that file.
can i do a
readfile("http://www.foo.com/bar.php");
and expect html in return, can i possibly do the code youv given me here :
$content=join('', file("includefile.php"));
$content=eval($content);
perhaps?