Checkout: http://php.dreamwerx.net/forums/viewtopic.php?t=6
It's got streaming code..

What I do is if the type is unknown I always send application/octet-stream
and the browser usually identifies it..

Or check the file extension for the file in the database, and apply
content type based on that..



On Sun, 17 Aug 2003, [iso-8859-1] Γεωργιάδης Γιώργος wrote:

> The most common problem in such cases is that the webserver doesn't know
> what MIME Type the file is and so it doesn't know how to send it.
> If you are using PHP to upload and later show that image on the web, i
> could give you the code for the scripts and the structure of the table
> containg the binary data.
>
> Luiz Rafael Culik Guimaraes said:
> > Dear Friends
> >
> > I has  images saved on an mysql table as an blob field, but i could not
> > recreate the image as file by selecting an specific record of this field
> >
> > any ideia
> >
> > Regards
> > Luiz
> >
>
>
> --
> If you don't like the news, go out and make some on your own.
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
>

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to