清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
[PHP]代码
1 2 3 4 5 6 7 8 | $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." ; } |