Small PHP code please help: newbie
Posted: Wed Jan 09, 2008 10:07 pm
Dear users,
I have the following function
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
I have the following function
Code: Select all
<?
$page = 0;
$URL = "http://www.xxxxxxx.com/yyyyy.php/";
$page = @fopen($URL, "r");P.S I have very little knowledge of PHP