Re: Need advice on downloading files and databases
| From: | Jason Wong | Date: | Tue, 03 Dec 2002 06:39:44 +0000 |
| Subject: | Re: Need advice on downloading files and databases | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126819@lists.php.net to get a copy of this message | ||
On Tuesday 03 December 2002 10:33, Dara Dowd wrote:
> Hello everybody,
> Newbie here...basically I need to develop a site that will allow users to
> download files, e.g Word docs, XL sheets, and I would like to know whether
> it is better to store the entire file in a database, or just the filepath,
> or even whether I need a database at all.
In general just storing the filepath is best. For the pros and cons search the
archives, this has been asked and answered many times before, keywords "store
file in database" (or similar).
> Is it possible to link to a file
> on a remote server if the file isn't in the root directory?
Yes.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
... My pants just went on a wild rampage through a Long Island Bowling Alley!!
*/