Re: Inserting images to Database
| From: | Brian Clark | Date: | Fri, 01 Sep 2000 08:54:32 +0000 |
| Subject: | Re: Inserting images to Database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14754@lists.php.net to get a copy of this message | ||
Brian Clark wrote:
Göksel Mýsýrlý wrote:Sorry, I forgot to give you what you wanted along with word of caution. This article at phpbuilder.com will get you started: Binary Data + MySQL + PHP http://www.phpbuilder.net/columns/florian19991014.php3I want to insert an image to the database. I want to send the image via the internet and insert it to the database.Can anybody help me?
Personally, wouldn't do this.. I've done that in the past, and if you ever have to repair the tables or dump-and-move, you could *possibly* wind up with a database full of trashed images. That has happened to me twice. Besides, I think it's a little clunky. I just started storing the images on disk, then storing the location of the images (and the images' properties) in the database table(s). However, doing that may not be possible in your case, I don't know. That's just MHO, Brian