There is, to the best of my knowledge, no equivalent functionality provided by a single function call in PHP. Although PHP supports opening some URLs as files (depending on your PHP installation's configuration), PHP's stat() function cannot work on them.
It should be possible to create your own function. It could fetch the HTTP headers returned by the server at the URL and then look for a "Last-Modified" header. This will be available for static HTML files, but likely not for the output of scripts. You should be able to use cURL, fopen with a URL stream, or fsockopen to get this information.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.