i want php to:
given the directory, output a page that contains every image (jpg) in that directory.
so say i have the directory root/images/
and in the images directory there is four files:
img1.jpg
img2.jpg
img3.jpg
img4.jpg
i want php to figure out that those files exist in that directory.