<?php $file = "http://www.xxx.nxxxet/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免费学习视频:立即使用
踏上前端学习之旅,开启通往精通之路!从前端基础到项目实战,循序渐进,一步一个脚印,迈向巅峰!











