[PHP] Storing Images in a Database

2001-09-12 Thread MindHunter

Hi,

Any good tutorials or references on how to select and display these images
from a database (MySQL, Access, SQLServer) with PHP?  I know how to get it
in, thats the easy partbut getting it out I'm listening!

Tx
BK



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Storing Images in a Database

2001-09-12 Thread David Otton

On Wed, 12 Sep 2001 13:45:06 +0200, you wrote:

Any good tutorials or references on how to select and display these images
from a database (MySQL, Access, SQLServer) with PHP?  I know how to get it
in, thats the easy partbut getting it out I'm listening!

You need to output the correct content-type header for the image, take
it's size and output it as content-length, and suppress error
reporting. Then output the image. There are lots of scripts that
already deal with images, just check google.

http://www.phpwizard.net/resources/tutorials/dynamic_images.html

djo


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]