English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have made a web page for downloading some files.

I wanna show the last modified/updated date for those files shown in my page, which are stored in my server, i.e. users get the files from my server via the web page.

By using javascript, how to get these dates and show it on my web page?

2006-07-19 21:20:32 · 3 answers · asked by Kinya 3 in Computers & Internet Programming & Design

I am not wanting the web page last modified date.

I am wanting the date that the file I uplaoded on the server. For example:

The web page is RE_DOWN.HTML
The files display in it called

ABC.XLS
DEF.TXT

and I actually wants the last modified date of ABC.XLS and DEF.TXT. But not the date of RE_DOWN.HTML

Thanks

2006-07-19 21:32:27 · update #1

Then how can I do by using PHP??

2006-07-19 22:08:35 · update #2

How to use those SSI code??

Would you please give me and example?

2006-07-20 01:36:10 · update #3

3 answers

The information is also available from Server programming in Perl or SSI commands

or

See link for more details.

2006-07-20 00:09:23 · answer #1 · answered by AnalProgrammer 7 · 0 0

The answer that Andoryu.net gave you will only display the last modified date of the html file that the code is embedded in. As far as I know, getting file information from the server (in effect what you want to do) is not something that JavaScript can do. For that I would use PHP.

Rawlyn.

2006-07-20 04:51:40 · answer #2 · answered by Anonymous · 0 0

Surf to "How to display the last modified date" at:
http://www.chami.com/tips/Internet/041198I.html

If you're in a hurry, simply copy and paste the code the web page.

2006-07-20 04:26:33 · answer #3 · answered by dranagar 5 · 0 0

fedest.com, questions and answers