Re: [PHP] Display a JPG Image (continued)

2003-10-14 Thread Pushpinder Singh Garcha
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); T

RE: [PHP] Display a JPG Image

2003-10-10 Thread Jon Shoberg
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

RE: [PHP] Display a JPG Image

2003-10-10 Thread Bertrand Moulard
try image/jpeg cheers .b -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Display a JPG Image

2003-10-10 Thread Bertrand Moulard
-Original Message- From: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED] Sent: 10 October 2003 17:06 To: [EMAIL PROTECTED] Subject: [PHP] Display a JPG Image Hello Everyone, I am trying to display a JPG image to a use, who has logged in. Some research on google revealed a way to