If I were you, I'd make a record in MySQL for each image, and refer to an AUTO_INCREMENTing ID field in your $_REQUEST parameter. That's the simplest way I can think of to eliminate the complexity and filestructure-giveaway-ness of your current design. Maybe you could make yourself an upload page that would take the image, insert the record, and save the image to the appropriate directory?
|