Re: BLOB Images,....
| From: | Chris Lee | Date: | Wed, 03 Jan 2001 00:31:14 +0000 |
| Subject: | Re: BLOB Images,.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32422@lists.php.net to get a copy of this message | ||
Yes it is possible, not to difficult either, just remeber to use
addslashes() around the image_data there are allways people debating wether
it is better or not better todo so. I do it. I use a separate table, keeps
things cleaner. If your not going to then just save the filename in the db
so you can crossreference it later. I don't have a clue what ecards is
though...
http://phpbuilder.com/columns/florian19991014.php3
this has some info to get you started, I will comment on phpbuilder and say
this is not one of their better articles though, there are a few syntax
errors in his code. If anyone knows a better tutorial please post.
Chris Lee
lee@mediawaveonline.com
"Dhaval Desai" <dhaval_adams@yahoo.com> wrote in message
news:20001231140259.57227.qmail@web10005.mail.yahoo.com...
> Hi!
>
>
> I want to upload images in mysql database...can u
> please tell me how is ii possible..?
> I know it is possible in the BLOB fields..but how...I
> want to add it..Also..if anyone of u is running an
> ecards scripts please let me know is it necessary to
> put the images in the database...?
>
>
>
> Thank You
> Dhaval Desai
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - Share your holiday photos online!
> http://photos.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>