[GLLUG] Mysql, PHP and Images
Mike Reed
mike@mreed.org
Fri, 14 Mar 2003 11:40:47 -0500 (EST)
Alternatively, this article may help too.
Binary Data + MySQL + PHP
Or: How to store images directly in the sql database
http://www.phpbuilder.com/columns/florian19991014.php3
Mike
> This article may help to get you started:
>
> "File Uploads Made Easy"
> http://www.phpbuilder.com/columns/bealers20000904.php3
>
> The concept is the same, but instead of copy()ing the file like
> the article instructs, do your database insert.
>
> --Brad Fears
>
>
> On Thu, 2003-03-13 at 17:02, Ex Fed wrote:
>> Has anyone used PHP and Mysql to create a web app that allows
>> users to upload images to a blob field in a MYSQL database?
>>
>> I would like to create an app that would allow for this and
>> append a small addition onto the image that includes the
>> submitters name, email and date submitted, and store this in a
>> mysql database table.
>>
>> Is this easily doable? I have never used mysql to store images.
>> Is it easy to read the image back out of the blob field record?
>>
>> Lee D.