javascript - List of files using webserver side script -


I need some advice to start, just trying to do something simple for learning purposes.

An 'HTML' has written a simple HTML page with some javascript.

I want to find a way to get a file from the list of my own webserver (with information including the revised date), that I can run some way from my simple page.

So my question is, Javascript + Ajax should come to me on the way, or there is an easy / better way

thanks

You need to type two scripts:

  • The one who scans a particular directory on the webserver And generates results in the appropriate format for AJAX (I recommend the JSON format but not JSON-P).

  • An AJAX script that queries the script, formatted and displays data.

    Which server side scripting language are you familiar with?

Comments