PDA

View Full Version : HTML help. File Date Display


Ryuho
08-05-2005, 01:26 AM
I want to show a date on my webpage that is updated every time a file on a server is updated...

I have a webcam that loads up picture every 10 sec when the program for webcam is running. I want to show it in text when it was last udated by simple text. Are there any way to extract the 'date created/modified' from the file on the server and display it on my webpage?

Gamini
08-05-2005, 02:05 AM
You can accomplish this using javascript.

http://www.chami.com/tips/internet/041198I.html

You can also use php

http://www.php.net/function.filemtime

Ryuho
08-05-2005, 02:56 AM
Ok, Thanks!