RE: [PHP-DB] small database
| From: | (Edward Peloke) | Date: | Wed, 13 Nov 2002 14:41:15 +0000 |
| Subject: | RE: [PHP-DB] small database | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23284@lists.php.net to get a copy of this message | ||
I agree with the others, don't try to store the picture in the db. What I
did was provide a place for users to log-in to my site, when they signed up,
I created a folder (using their username since that had to be unique). When
they uploaded their pictures, I put the pictures in their folder and then
just put the path (/username/pic1.jpg) into the db as a string.
Eddie
-----Original Message-----
From: Seabird [mailto:jacco@vliegt.nl]
Sent: Tuesday, November 12, 2002 11:56 AM
To: php-db@lists.php.net
Subject: [PHP-DB] small database
Hi everyone,
I'm creating a sample site for a company that does aircraft sales. I use a
MySQL DB to store all the info of the available aircraft. Now, I would like
to store pictures directly inside that same table, so that on the "details"
page, it would provide a picture out of (for example) Field5. Is this
possible and if so how? (I tried blob etc., but can't get it to work).
Thanx,
Jacco
--
http://seabird.jmtech.ca
Attitude is Everything!
But Remember, Attitudes are Contagious!
Is Yours worth Catching????
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php