Don't you just do this?
<?php
//includes remotefile.php
include_once 'remotefile.php';
?>
I'm not sure if thats right though because when I try to link to my remote pages from index.php I get this page:
Not Found
The requested URL /FB/myapplications/remotefile.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.