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? Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted November 16, 2010 Share Posted November 16, 2010 http://tinyurl.com/3a2er32 Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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.