Click to See Complete Forum and Search --> : Display folder contents


swarris
05-11-2004, 11:10 AM
Hello I'm very new to web pages and most of all JAVA scripts so I'm hoping someone can give me a hand in figuring this out.

My webserver is an NT 4.0 box with SP6a applied and I'm running IIS not sure how to tell the version but I think it's version 5.0?

I've been using FrontPage 2003 and I would like to create a javascript that displays the contents of a folder that is stored in the webserver. I tried downloading various scripts from sites like dmags dirwrap with out success, I can't seem to get the scripts to run. So I'm hoping someone out there can guide me in the right direction to get this seemingly simple task accomplished..

Thanks for your help..Scott

Exuro
05-11-2004, 11:19 AM
You cannot do this with JavaScript because all JavaScript is processed client-side. You would need a server-side language to do this such as PHP (http://www.w3schools.com/php/default.asp) or ASP (http://www.w3schools.com/asp/default.asp) to accomplish what you want.

swarris
05-11-2004, 12:49 PM
Okay thanks...

Any suggestion on which would be easier for me to work with php or asp?

Exuro
05-11-2004, 05:02 PM
It's really all a matter of preference. Both PHP and ASP have their advantages and disadvantages. My personal preference is PHP, but ASP has its pluses too. What it really usually comes down to is what your server can support.

swarris
05-12-2004, 07:27 AM
I downloaded PHP 4.3 and have installed it on my windows box and am starting to work thru the online doc's to see if I can figure this out..

Thanks again..Scott