Forum Moderators: coopster
Here is my code so far:
$url1 = "http:// ...external URL... ";$filemod = filemtime($url1);
echo date("j F Y", $filemod);
I have tried opening the file first and including it. That works, but not the above script. Am I barking up the wrong tree?
I can't think of how you could do it other than running a script at the operating system level.
Shawn
Shawn
I guess it ain't possible. :(
Take care, though! If you don't have access to the sites, it might be better to request it, and let the site owners know what you are doing. The reason is that you are diverting traffic away from them, potentially. Visitors might look at your site and only visit theirs when there is a change, whereas without your site, the visitors might go have a look at theirs more frequently, to check for updates. So you might get into trouble with Intellectual Property issues, and you may not win favour with the sites you are monitoring. If that happens they'll start playing silly games to invalidate your results (make the checksums change when there has not been any real change to the site, or show your process an old site and real visitors the new site, so it looks like your site isn't working).
Shawn
The reason is that you are diverting traffic away from them, potentially.
Take a look at the way this site displays links down the left with the date last updated underneath. I thought it was a great idea.
[edited by: jatar_k at 4:27 pm (utc) on May 15, 2003]
[edit reason] no urls thanks [/edit]
mavherick
The exact opposite of what I was intending!
Shawn