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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php