PDA

Click to See Complete Forum and Search --> : apache php error


fanta
Apr 2nd, 2006, 01:43 PM
I installed apache and php in my xp computer. It seems that it is working except giving me error with funcions which connect with other website. (it works for a local file)
<?php
if (!($f=fopen("http://www.vbforums.com/index.php","r")))
exit("Unable to open file!");
?>

This returns me an error "Apache http server encountered a problem and need to close" similarly it gives me error with file() funcion.

Any help please!