View Single Post
  #2  
Old 06-30-2006, 12:56 PM
tripleh tripleh is offline
OSP Starters
 
Join Date: Jun 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tripleh is on a distinguished road
Thumbs up

hello friend

No. The server actually inserts the last-modified information when you
use a header. If you are running the .htm/.html pages through PHP then
you will not get this information since the server is not reading the
files, it is getting the results of a script (stdout).
Instead, you should use .phtml or .php extensions on your script files and allow normal .html files to be handled by the server. I would put last-
modified into a database and update it when the site is updated.

Hope this helps -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - Can one have PHP4 parse .htm/.html and keep the Last-Modified header
View Single Post
  #2  
Old 06-30-2006, 12:56 PM
tripleh tripleh is offline
OSP Starters
 
Join Date: Jun 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tripleh is on a distinguished road
Thumbs up

hello friend

No. The server actually inserts the last-modified information when you
use a header. If you are running the .htm/.html pages through PHP then
you will not get this information since the server is not reading the
files, it is getting the results of a script (stdout).
Instead, you should use .phtml or .php extensions on your script files and allow normal .html files to be handled by the server. I would put last-
modified into a database and update it when the site is updated.

Hope this helps -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote