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
Moderator: General Moderators
Code: Select all
<?
$page = 0;
$URL = "http://www.xxxxxxx.com/yyyyy.php/";
$page = @fopen($URL, "r");Code: Select all
if(!$URL){
exit();
};//end ifCode: Select all
function xxx(){
if (!file_exists($url)){
exit();
}else{
//blah blah blah
}
}Code: Select all
?