Uploading pictures to a database
Moderator: General Moderators
Uploading pictures to a database
I need people to upload their pictures when they register in a form. Can pictures be uploaded to mysql database. If yes, how?
mysql managing a link to the picture?
how do i go about it? how does mysql manage a link to it?
If you searched, you might have ran across my tutorial
viewtopic.php?t=35972
It walks you through uploading an image to a database, and if you'd like you could include a query to insert the filename to a database, to use that for your link.
viewtopic.php?t=35972
It walks you through uploading an image to a database, and if you'd like you could include a query to insert the filename to a database, to use that for your link.
Just read your tutorial, don't like to bump old things so I'll say it here:scrotaye wrote:If you searched, you might have ran across my tutorial
viewtopic.php?t=35972
It walks you through uploading an image to a database, and if you'd like you could include a query to insert the filename to a database, to use that for your link.
You really should be checking mime types not extensions, you should say that in your tutorial too.