![]() Preserved Topic: Finding the name of images in folder (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: there...no..there..... |
![]() 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 |
![]() someone quick move it |
Maniac (V) Inmate From: there...no..there..... |
![]() eigh, I knew it was going to be more difficult than I though |
Maniac (V) Inmate From: under the bed |
![]() Moving it on over |
Paranoid (IV) Inmate From: New Jersey, USA |
![]() I could probably put together a php solution for you if that would help. |
Maniac (V) Inmate From: there...no..there..... |
![]() 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 |
![]() 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..... |
![]() Thanks a bunch, I will give it a go when I get home. |
Bipolar (III) Inmate From: |
![]() code: <?php
|
Maniac (V) Inmate From: there...no..there..... |
![]() Azazeal, thanks. That was a nice script. I didn't have to change much to get it working. |
Paranoid (IV) Inmate From: everywhere |
![]() |
Paranoid (IV) Inmate From: Sthlm, Sweden |
![]() Yup... code: <?php
|
Maniac (V) Inmate From: there...no..there..... |
![]() good stuff. Now if I could just find mr.maX's PHP sig rotation script . . . |
Maniac (V) Inmate From: Seoul, Korea |
![]() http://www.ozoneasylum.com/Forum12/HTML/000318.html |
Maniac (V) Inmate From: there...no..there..... |
![]() 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. |