dimanche 24 juillet 2016

how to upload and retrieve doc/pdf in mysql

I'm writing an application that allow user to upload word document onto the server. I am thinking on how what the best practice for storing uploaded document is. 1) Store the document as a file in the file system and create a record in a table with the exact path to that document. 2) Store the document itself in a table using a "doc" or "binary data" data type of the database server.

Aucun commentaire:

Enregistrer un commentaire