Document upload to musql question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vic11
Forum Newbie
Posts: 1
Joined: Mon May 22, 2006 8:50 pm

Document upload to musql question

Post by vic11 »

I successfully code the php upload function which allow user to upload file to my server upload directory,however, I wondering how can I store those documents directly to mysql instead of onto a folder. By the way, the file that I want to store to mysql is not plain text but various types document such as pdf, doc...


Look forward to anybody's help :o
bdlang
Forum Contributor
Posts: 395
Joined: Tue May 16, 2006 8:46 pm
Location: Ventura, CA US

Post by bdlang »

Storing files like that directly into MySQL is a debatable practice, but it can be done using the BLOB type.
Post Reply