Storing files efficiently in a database

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
qritari
Forum Newbie
Posts: 5
Joined: Fri Jul 22, 2005 3:16 pm

Storing files efficiently in a database

Post by qritari »

Is there a way to store the path of a file in a database and the physical file on the server? I have seen many examples explaining how one can store a file as a blob type but few on storing only the paths? Is there a reference code that anyone can refer me to?

Lastly, I have been very puzzled by how some programs like yousendit.com is able to attach super huge files but yet my simple HTML form hangs on a mere 2-3MB filesize.

Please advice! thanks
Post Reply