Hi guys,
I've got a file upload script working on my server. What i really want to do with it is, have it so only authorised users can access it, and also each user should upload to a separate directory. Any ideas?
Thanks
Jim
user management for file upload
Moderator: General Moderators
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
I would just update the file upload class so that first of all only registered users can upload images. Then save the image names as (userid)_(users specific image ID).gif or whatever ending like that.
Then just keep image information in a database so you match image id with image infor and userid with user info. You could also get away with just making an image id and not including the user id.
Then just keep image information in a database so you match image id with image infor and userid with user info. You could also get away with just making an image id and not including the user id.