RE: [PHP] Images in PHP and MySQL
| From: | Graham Cossey | Date: | Mon, 27 Sep 2004 22:49:33 +0000 |
| Subject: | RE: [PHP] Images in PHP and MySQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198030@lists.php.net to get a copy of this message | ||
I'm no certified expert, but preference would be storing a URL to an image
in the database rather than the image itself.
If however you do want to store them in the db try using a blob column type.
This article is PHP3 but shows the basics:
http://www.phpbuilder.com/columns/florian19991014.php3
HTH
Graham
-----Original Message-----
From: GH [mailto:GaryHotko@gmail.com]
Sent: 27 September 2004 23:19
To: php-general
Subject: [PHP] Images in PHP and MySQL
I was wondering how to get images into and out of a Mysql database
with in php... I do not have anything in my book... but was told it
was possible.
I have PHP 4.3.4 and mysql 4.0.18
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php