PAGE INFO WINDOW DISPLAY
There are two methods to reach the info I'm having trouble with.
* At the top of the Firefox window On the menu bar, click on the Tools menu then select Page Info. * Right-click an image on a page, click 'view image info.'
Under the 'general' tab you see a line marked 'modified' with a day and a time. My problem is that I'm getting the exact date and time on a variety of images from all sorts of pages. Is it safe to assume that these dates and times mean nothing, or is there a bug in the system?
Всички отговори (4)
These days many pages are generates on web servers via a server side script (ASP, php etc) and in such cases the date and time will be the current date and time.
Only pages that are stored on a server will show an useful last modified date.
OK cor-el, no offense, but that reply provides nothing in the way of help or a solution. Maybe you should read my post a bit more carefully.
I don't know whether you will like this response any better...but this is my understanding.
A web server sends a number of headers prior to sending a page or image. These include such things as the content type, so the browser knows how to display it. The server optionally can send a Last-Modified header, but often does not do so. When it does not do so, Firefox displays the time it was modified in Firefox's own cache, rather than the time it was last modified on the server. So the data is not "meaningless", but it doesn't answer the question I think you want answered.
I think The_Gov expected to have an equivalent date to filemtime in PHP.