zhshero Posted November 16, 2010 Share Posted November 16, 2010 what is the simple way to upload a photo to mysql or store in a dir, and update the database with the new url? Link to comment https://forums.phpfreaks.com/topic/218881-uploading-photo-to-mysql/ Share on other sites More sharing options...
BlueSkyIS Posted November 16, 2010 Share Posted November 16, 2010 http://tinyurl.com/3a2er32 Link to comment https://forums.phpfreaks.com/topic/218881-uploading-photo-to-mysql/#findComment-1135176 Share on other sites More sharing options...
zhshero Posted November 16, 2010 Author Share Posted November 16, 2010 yea that dosn't help one bit -.- thanks anyways Link to comment https://forums.phpfreaks.com/topic/218881-uploading-photo-to-mysql/#findComment-1135180 Share on other sites More sharing options...
Pikachu2000 Posted November 16, 2010 Share Posted November 16, 2010 If you're asking whether it's better to store images in a database or in the filesystem, the filesystem is the way to go. Just store the path to the image in the database. Link to comment https://forums.phpfreaks.com/topic/218881-uploading-photo-to-mysql/#findComment-1135181 Share on other sites More sharing options...
zhshero Posted November 16, 2010 Author Share Posted November 16, 2010 If you're asking whether it's better to store images in a database or in the filesystem, the filesystem is the way to go. Just store the path to the image in the database. Im storing the photos in members/"membersname"/14315.jpg all i wanted was it to store into a database for when a users wants to change his/hers main photo, i already had an uploading script, so i toke that edited it so it would do what i needed Link to comment https://forums.phpfreaks.com/topic/218881-uploading-photo-to-mysql/#findComment-1135197 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.