我正在尝试检查上次编辑外部服务器上的文件的时间。
函数filemtime()
不起作用并抛出异常。
Warning: filemtime() [function.filemtime]: stat failed for
http://examplesite.com/export/export.php?username=***&passwd=***&fileType=xml
我认为问题出在链接中,因为它不是文件的直接链接,而是PHP脚本。有没有人知道如何绕过它并获得文件时间而不下载该文件?