Display a JPG Image (continued)
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
|