Re: Binary File Uploads to MySQL
| From: | Daniel Convissor | Date: | Mon, 16 Oct 2000 16:55:46 +0000 |
| Subject: | Re: Binary File Uploads to MySQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20428@lists.php.net to get a copy of this message | ||
Hi Jason:
> My site has a file upload section, I currently store the files on the HD, however I'd like
> to start putting them in the database. Does anyone know of a good example on doing this? I've
> looked all over the place for a good example. Thanks.
While you can do that, it's probably best to upload the file, and then have
the script insert the name of the file into the database. Storing binaries
in the db is rough.
Enjoy,
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409