MemphiS Posted December 23, 2007 Share Posted December 23, 2007 Would it be better to set users in a SQL table and attach an id to images associating them with the uploaded image or just making a folder with the users Username and placing the images in thier. eg: users/Memphis If its better just making a user folder. What are the commands for creating a folder for each user when they register and what new problems will i have by doing this.. Security as well. Quote Link to comment https://forums.phpfreaks.com/topic/82900-uploading-with-users/ Share on other sites More sharing options...
Daniel0 Posted December 23, 2007 Share Posted December 23, 2007 Assign an id to an entry in a table. That would be the best option. You still need to store the file so have a column called filename or something like that. What are the commands for creating a folder [...] mkdir() Quote Link to comment https://forums.phpfreaks.com/topic/82900-uploading-with-users/#findComment-421610 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.