Image Displayed From Database

From: Date: Mon, 25 Mar 2002 00:08:00 +0000
Subject: Image Displayed From Database
Groups: php.general 
Request: Send a blank email to php-general+get-89963@lists.php.net to get a copy of this message
I'm using mysql to store images that I load through a script called photo.php. I pass it the ID and it displays the image. No problem. However, when I right-click on the image in my browser (IE6) and choose properties, it doesn't seem to recognize the format or size even though I'm sending Content-Type and Content-Length headers. Are there additional headers I need to send to get this functionalily or is it just because the file extension of the script is .php and not .gif or .jpg? Also when I right-click and choose "Save As" it only lets me save as a bmp. Again, it displays fine, I would just like to make it work like a real image.

« previous php.general (#89963) next »