|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Display Directory Contents
Hi
I'm needing some help I have some directorys that contain images (.gifs) and need a script that basically calls the images from the directory onto the page rather than having to code each image individually. Can anyone help me out ? Thanks, |
|
#2
|
|||
|
|||
|
You can use the scandir function to list all directories and files in a given directory, then clean out any directories from the list with isdir (might be is_dir). That should give you all file names.
Hope that helps, -KM- |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Display Directory Contents |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|