Hello, I am trying to make my dropdown menu work with IE6 Yes, I know everybody hates that damn browser, so do I but some people still use it. I have been trying about everything, several hours each day for more than a week :cry: Then theres is problems with z-index and then the htc file. So I wonde...

Erik Frèrejean wrote:Are these pages actual files or dynamically generated from the database? In case of the latter store the timestamp when editing a page and use that. If you are working with actual files you can use filemtime.

Nope, the files is only core php, language and template.
Nothing is stored in the DB

I think this function will be easier to use: http://www.php.net/manual/en/function.getlastmod.php So you would use it like this: $template->assign_var('LAST_EDITED', $user->format_date(getlastmod())); Brilliant, that works for the core php files :D Its good but what if I want it to work with the ...

I have a couple of custom pages where I want to display when the pages last was edited/modified.
At the moment I am doing it by hand which is getting boring.
There is a couple of js that does this, but I would like it done in php using the user_date format.