Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upload files to mysql database.

Status
Not open for further replies.

Chelsea7

Programmer
Aug 25, 2008
69
US
Hello. I've been looking for a basic way to upload images to a mysql database. What I'm trying to do is use a form that the user can upload an image file (picture) from the local hard drive to the webhosting yahoo server. The user can then view the picture on the webpage.

None of the samples seem to work so far. All the priviledges are set to full access.

 
From the mysql side of things, you just need to issue an insert statement.

If you want to store the file in the DB itself you'd need to have a field of type "blob" to store it.

Other than that its up to whatever server side language yo are using to process the for to get the file data and and send it to the DB.

So perhaps telling us what samples you are using, and what server side language the yahoo server supports if any may helps tell you what may be wrong.


----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top