Bir dosya Harici Server olmadığını denetlemek nasıl? Ben bir url "http://logs.com/logs/log.csv" var ve bu dosya varsa kontrol etmek için başka bir sunucuda bir komut dosyası var. Denedim
$hvele = fopen("http://logs.com/logs/log.csv","r");
if($hvele === true){
return true;
}else{
return false;
}
ve
if(file_exists("http://logs.com/logs/log.csv")){
return true;
}else{
return false;
}
Bu methos işe yaramayan