Forum Moderators: coopster
$html=strtolower(implode('',file("http://www.yahoo.com")));
echo $html;
Is there some kind of configuration I have to make? The computer is on a network which is protected by a firewall, would that also have anything to do with it?
Thanks.
Anyway, you might have to change the fopen_wrappers setting [ca.php.net]. I find it so much nicer to use file_get_contents [ca.php.net].
Tim
Any other ideas?
$url= 'http://www.msn.com';
$conn = fopen($url, "r");
$html = file_get_contents($url);
fclose($conn);
echo "HTML is:<BR><BR> $html";
die();
<added>
When I launch internet explorer I have to log in through a Novell login page before I can start browsing web pages. Is there somewhere I need to specify this username and password within php.ini or something?
</added>
Thanks for the replies so far.