do you mean how do you print the contents of a file in one of your directories to the screen? if this is what you mean, you could possibly use fpassthru() in a way like this:
$file = (fopen("http://www.mydomain.com/", "r"));
fpassthru($file);
i think this will work, but i'm saying all this off the top of my head... let's hope i remembered right. a quick search of the functions list at http://www.php.net/ should provide you with some answers anyway