I have the following:
$file1 = fopen("http://www.php.net/","r");
It prints: Resource ID #1;
What is wrong??? How do I read from the site?
Just use include("http://www.php.net/");
Hartmann, you need to implode the array.
$page = file("http://www.url.com");
$page = implode("", $page);