阅读背景:

URL的等效is_file()函数?

来源:互联网 

What is the best way to check if a given url points to a valid file (i.e. not return a 404/301/etc.)? I've got a script that will load certain .js files on a page, but I need a way to verify each URL it receives points to a valid file.What is the best way to check if a given url po




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: