PDA

View Full Version : Index file dates



falconer
09-06-2005, 01:20 PM
Hi,

Anyone know how to write a javascript to show on the serach page, the lastupdate date of one of the index files, so that the search page will show when the indexfiles were last updated? Found how to show lastupdate date of current file but not another file.....

Francis.

Ray
09-06-2005, 11:51 PM
Javascript tends to be pretty restrictive in accessing external files, for security reasons. You may be able to do something like this with ActiveX controls or other workarounds. It would also differ depending on whether your search page will be accessed remotely from a web server, or off a CD etc.

PHP and ASP can do this more capably, and if your search page is hosted on a web server, this would be the better option all round.