Re: Display a JPG Image (continued)

From: Date: Tue, 14 Oct 2003 19:24:54 +0000
Subject: Re: Display a JPG Image (continued)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-166108@lists.php.net to get a copy of this message
Hello all again,
      I am still having trouble opening a jpg image using
header("Content-type: image/jpg");
	    		$file = "docs/picture1.jpg";
header("Content-disposition: attachment; filename=$file" );
		    	readfile($file);
The reason being that IE on the win platform does not seem to recognize the file extension. Mozilla on the Win and Mac Platform behave properly. Someone, suggested that just using image/jpeg. Even that duz not werk for me. Suggestion welcome. Thanks in advance. Pushpinder On Friday, October 10, 2003, at 01:25 PM, Jon Shoberg wrote:
On Fri, 10 Oct 2003, Bertrand Moulard wrote:
try image/jpeg cheers .b
-- http://jon.shoberg.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#166108) next »