Topic awaiting preservation: Finding the name of images in folder (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: there...no..there..... |
posted 03-26-2003 19:59
Using JavaScript, is there a way to just print to the screen the names of the images in a folder? code: document.write(imageSource + imageName)
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 03-26-2003 20:28
someone quick move it |
Maniac (V) Inmate From: there...no..there..... |
posted 03-26-2003 22:02
eigh, I knew it was going to be more difficult than I though |
Maniac (V) Inmate From: under the bed |
posted 03-26-2003 22:07
Moving it on over |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 03-27-2003 03:24
I could probably put together a php solution for you if that would help. |
Maniac (V) Inmate From: there...no..there..... |
posted 03-27-2003 14:28
Butcher: Yep, if it's server-side I would much prefer PHP. If it's not too much trouble, that would be great! |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 03-27-2003 20:01
ok, here a quick, dirty, plug in whatever you want solution, untested, but it shouldn't have more than a few obvious (as in missing ; or so) bugs in it ;-) code: <?php
|
Maniac (V) Inmate From: there...no..there..... |
posted 03-27-2003 20:59
Thanks a bunch, I will give it a go when I get home. |
Bipolar (III) Inmate From: |
posted 03-28-2003 22:18
code: <?php
|
Maniac (V) Inmate From: there...no..there..... |
posted 04-01-2003 02:58
Azazeal, thanks. That was a nice script. I didn't have to change much to get it working. |
Paranoid (IV) Inmate From: everywhere |
posted 04-01-2003 09:57 |
Paranoid (IV) Inmate From: Sthlm, Sweden |
posted 04-01-2003 12:25
Yup... code: <?php
|
Maniac (V) Inmate From: there...no..there..... |
posted 04-01-2003 13:42
good stuff. Now if I could just find mr.maX's PHP sig rotation script . . . |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-01-2003 23:46
http://www.ozoneasylum.com/Forum12/HTML/000318.html |
Maniac (V) Inmate From: there...no..there..... |
posted 04-02-2003 14:00
thanks for that though Suho. I was just going to incorporate both scripts. That way when I upload another image it will just scan the folder and then add it to the array for the sig rotation. |