SirChick Posted September 14, 2008 Share Posted September 14, 2008 How do you logically create an upload system so that a user who uploads their images.. the image is saved so that a script can call the correct images on the user's profile. I'm not quite sure how to upload the image so it will be assigned to that particular user. Any thoughts? Link to comment https://forums.phpfreaks.com/topic/124176-solved-php-image-uploading/ Share on other sites More sharing options...
BlueSkyIS Posted September 14, 2008 Share Posted September 14, 2008 store the user_id with the image, so you know to which user it is associated. Link to comment https://forums.phpfreaks.com/topic/124176-solved-php-image-uploading/#findComment-641110 Share on other sites More sharing options...
SirChick Posted September 14, 2008 Author Share Posted September 14, 2008 do you mean like withing the image name? So it be like userID_image_1.jpg userID_image_2.jpg ? Link to comment https://forums.phpfreaks.com/topic/124176-solved-php-image-uploading/#findComment-641115 Share on other sites More sharing options...
unrelenting Posted September 14, 2008 Share Posted September 14, 2008 If you are using a database just create a row in your member table that you can store the name of the image when they upload it. Link to comment https://forums.phpfreaks.com/topic/124176-solved-php-image-uploading/#findComment-641192 Share on other sites More sharing options...
SirChick Posted September 14, 2008 Author Share Posted September 14, 2008 Yeah thats a good idea! Shall give it a go thank you unrelenting. Link to comment https://forums.phpfreaks.com/topic/124176-solved-php-image-uploading/#findComment-641438 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.