Preserved Topic: Newbie - Javascript question - collecting data! (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
posted 08-10-2000 12:44
I am looking to write a Image display doc and I was wondering if it were possible to write a javascript script that could enter directory path and would/could interigate the contence find all the .jpg files and place them in a window one under the other. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 08-11-2000 23:23
Oh! Well, I have a script a friend wrote for me that does something like that, it's viewable at my http://www.ozones.com/FTP/ pages. It's a heavy script, written in PERL, and it uses a whole slew of custom hacks on the server end, I've never managed to make it work on another server than his. I've discussed this with some programmer buds of mine here, hoping to do something like you mention to display a site map of a directory, and all they do is mutter and scribble and moan about how hard this would be. Possible, just not too easy. SO! Can I tell you how to do this thing? No. Is it a do-able thing? Definitely! Are you up to the task at this stage of your coding knowledge? Maybe not. For what it's worth, Javascript is not the best tool for reading directories, you need a more server based scripting language like PERL or PHP or ASP or something like that. Good luck to you! |