Image Index
- Consider a PHP script "imageIndex.php",
which displays thumbnails of image files (*.gif, *.jpg, *.png) under the
"./Images" directory. When the user click on a thumbnail, the
corresponding image file will be displayed.
- Modify the program so that a user can select what file types he/she
wants to display, by checking/unchecking the corresponding file types.
- Selected file types should be automatically checked after applying
the filter.
- If none is checked, then all files (*.*) in "./Images" will be
displayed.
-
You may read this
example on how
to get those checked items in an HTML form into a PHP array.