I'm trying to create a dynamic photo gallery. I want users to be able to upload pictures to a directory then edit a text file in the text file they will specify the file location and a description for the graphic. I then need to create client side script that will retrieve that text file open it and sort all of the CSV entries to create a photo gallery for instance

Person will upload files to "www.mypage.com/pictures"
the file is called "picture1"
the title is "Florida 2007"
and the caption is "me at the beach"

and lets say there are 50 or so of these pictures, how do I read the information from the text file and place all of the informaiton into arrays

pictures(50)
title(50)
caption(50)

I'm hosting the site off of an apache server which doesn't support ASP. And I'm too lazy to learn PHP. Is there a way to do this using a client side script?

-Chris