la***********@zipmail.com wrote:
Hello, Does anyone know how (or if) I can figure out the last time a
web page was last modified if my only access to it is via HTTP (a web
browser). Right now, I'm looking at "Page Info" options. There is a
"Modified" field but I think that is telling me the time that the file
was downloaded to my machine.
Any advice is greatly appreciated, - Dave
The "Modified" date in "Page Info" is indeed when the page was last
changed. However, if the page involves a server-side include
(e.g., for a counter), the server modifies the page as it sends it
to your browser. In this case, the "Modified" date is the same as
the download date.
The only way to see the true date when the HTML file was last
changed on the server is to examine its directory. You would then
see something like this:
Index of /~rossde/cgi-bin
Name Last modified Size Description
[DIR] Parent Directory 08-Mar-2005 08:31 -
[TXT] Arch_Script.ksh 30-Oct-2003 21:55 1k
[TXT] Rest_Script.ksh 03-Oct-2003 19:14 1k
[TXT] back.tidx 26-Sep-2004 12:20 1k
[TXT] cnt_Canada_trip.dat 08-Mar-2005 10:43 1k
However, for security, most servers allow only the owner of the
directory to see this unless the owner grants permission to other
users. I tried to view my own public_html directory, but I was not
successful. I can view it via either FTP or TELNET, but my ISP
does not allow that via my browser.
--
David E. Ross
<URL:http://www.rossde.com/>
I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.