Using PHP, How can I organizing image uploads dynamically?

RedMantra

New member
This is a two-part question.

1) I know a little PHP. I am looking for a way to get someone to upload an image to my server's upload directory, but have the images organized into groups or categories, dynamically, based on user input.

So, if user1 wants to upload an image to "category1" category that he just made up out of the blue, he can. The script would create the sub-folder / directory inside my uploads directory.

2) In a drop-down (select) menu, the list of images should appear, but only the group/category the user selects in a check-box. So, if there are 10 categories, 10 check boxes will display with their folder name, and if they check 3 of them, all of the images in the 3 directories will show up in a drop down menu.

Where is there an example of ANY part of what I need? Thanks for your time.
 
Back
Top