3
Contributors
5
Replies
8
Views
7 Years
Discussion Span
Last Post by arunpatyal1987
0

if this is a web app, i would personally store the pdf in a seperate folder and only the document name in the database. i am sure this would be the way without it being web based also.

is it web based?

0

yes this is a web app using php,mysql
but i am simply designing a database by phpadmin

0

andydeans's suggestion is really good.

yes this is a web app using php,mysql
but i am simply designing a database by phpadmin

Are you trying to develop a test site/database?

0

If it is using php/mysql then for definate you want to store the files in a seperate folder on your server. (Possible password protect this directory) then in mysql, create a docs table, store the filename in here and add a docid PK AI just in ase you get the same filename twice.

if you want to store in the database check this out:

http://www.php-mysql-tutorial.com/wikis/mysql-tutorials/uploading-files-to-mysql-database.aspx

if you do not want to store in the database then check this this other thread out:

http://www.daniweb.com/forums/thread214601.html

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.