Try this:
[tt]
$page = fopen(page.txt, "r"

or die ("can't open file"

;
[/tt]
That will read the entire contents of page.txt into the variable $page.
To get it from a URL, you can do something like this:
[tt]
$url = "
$page = fopen($url, "r"

or die ("can't open file"

;
[/tt]
In case you are wondering, the "r" within the fopen functions means read only, while "w" mean write.
Hope this helps.
-Vic
vic cherubini
malice365@hotmail.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
Wants to Know: Java, Cold Fusion, Tcl/TK
====