hey guys,
i have a working uploader running on my site, which is all very nice, but nowi want to categorise my index of files.
i'm gonna do it in like 5 folders.. photography / paintings / sketches etc.
i want to be able to upload any type of file to my server, but i want it to upload to the correct directory.
suppose i am viewing my photography directory, and i want to add a new photo. i want to click the link to this uploader script, and then upload the file, but also upload it into the apropriate directory.
if my file was called "photo_12.jpg", this is how it currently works out.
/photography/
/sketches/
/paintings/
/photo_12.jpg
but i want that to be
/photography/photo_12.jpg
/sketches/
/paintings/
i am not much of a coder, i got the original upload script from somewhere else. what i would like to know is, how do i expand the current solution to work with multiple directories? i'd like there to be a dropdown menu or something, maybe a radiop button or whatever, to allow me to tell the script where i want the file to land.
i'll post the uploader code in a second
