View Single Post
Old Sep 15th, 2005, 12:34 PM   #7
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
If your PHP version is >= v4.3, you can use the file_get_contents function to open the file, read it to the return variable and close it:
[php]$content = file_get_contents($_GET['page']);[/php]
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote