I have the following function
$page = 0;
$URL = "http://www.xxxxxxx.com/yyyyy.php/";
$page = @fopen($URL, "r");
And the function continues. I would like to exit the function if the above http://www.xxxxxxx.com/yyyyy.php/ does not exit. Because right now when I execute it for a non existing .PHP file it crashes my computer. I would really appreciate any help. Thank you.
P.S I have very little knowledge of PHP