Checking filetime from external server

318 Views Asked by At

I'm trying to check when the file on external server was edited last time. The function filemtime() doesn't work and throws an exception.

Warning: filemtime() [function.filemtime]: stat failed for 
http://examplesite.com/export/export.php?username=***&passwd=***&fileType=xml

I think the problem is in the link, because it's not a direct link to the file but to a php script. Does anybody knows how to get around it and get filetime without downloading that file?

0

There are 0 best solutions below