Topic awaiting preservation: [PHP] timestamp of a remote file |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Berlin, Germany |
posted 04-06-2004 12:05
How can i get the time of last modification of a remote file? |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 04-06-2004 13:15
well... depends on what you understand as 'remote file' - with http, probably only if the sites' sending a 'last-modified' header... |
Bipolar (III) Inmate From: Berlin, Germany |
posted 04-06-2004 13:50
666!! |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 04-06-2004 14:40
I'd try something like the code below, code: if ($fh = fsockopen($ip_of_host); //could get ip via nslookup) |