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.
Hi
> 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
> cont
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 binar