Re: upload an image and store it in mysql
| From: | Five | Date: | Sat, 17 Jul 2004 00:48:26 +0000 |
| Subject: | Re: upload an image and store it in mysql | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190792@lists.php.net to get a copy of this message | ||
"Ed Lazor" <Ed.Lazor@d20News.com> wrote in message news:php.general-190561@news.php.net...
> You're seeing raw data and need to specify the mime type with headers. Search the mailing
> list archive, there's a few example
scripts in there. Just keep in mine that you need to create a separate script that handles the
display of images.
>
>
>
> > Thanks, that seems to work. Although trying to retrieve them and show them
> > in a browser shows characters / symbols instead. This
> > kind of stuff:
> >
> > jw4ëÜqÈHæQI'?Úe"ã"@D[?A\Á `Ñ*[#?j ¥q6Ñ"]Q.b
> > Oâ¶(YO:9£-"Òª(K\¯'½È
> > ZÛÃEbXÊê£W(Ìe
> > 9Æ>¹pã´EXZaâÑlÑ˵m8=~±{ãx´fî ©ÜÎ Lãùy§ùeñ©±(£Zâ5O
> > ¢µPP?<3>aª -
> > Ãç?o XSÓD ~ûüJ¢
> > ÜVиܶF&·7´s© cæ[3bä±"C°&EôÐî
>
I've been playing with this for two days and am wondering if there's a way to retrieve and
display the images in a browser using
only php or is it necessary to use a graphics library like GD?