时间:2021-07-01 10:21:17 帮助过:33人阅读
$file = "http://www.bitsCN.com/demo/file_exists.zip";
$fileExists = @file_get_contents($file,null,null,-1,1) ? true : false;
if($fileExists){
echo "File Exists!";
}else{
echo "Sorry, we couldn't find the file.";
}
希望本文所述对大家的php程序设计有所帮助。