Page 1 of 1

Document upload to musql question

Posted: Mon May 22, 2006 8:53 pm
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

Posted: Mon May 22, 2006 8:56 pm
by bdlang
Storing files like that directly into MySQL is a debatable practice, but it can be done using the BLOB type.