Re: Storing Images in a Database

From: Date: Wed, 12 Sep 2001 12:42:07 +0000
Subject: Re: Storing Images in a Database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-67039@lists.php.net to get a copy of this message
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

« previous php.general (#67039) next »