Re: [PHP] Re: downloading an image

2007-04-11 Thread Richard Lynch
On Wed, April 11, 2007 9:37 am, Ross wrote: > yes it is image/jpeg Some (ancient) versions of IE don't give a doodly-squat what your Content-type header is. They'll "guess" based on the URL. Your URL is like this: download.php?id=47 IE thinks that's a .php file, and has no idea how to handle a

[PHP] Re: downloading an image

2007-04-11 Thread Ross
yes it is image/jpeg "Roberto Mansfield" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Verify that your $type is a correct mime type. > > > Ross wrote: >> tthe image does not display although it exists in the table 'images' >> >> >> This calls the download script >> >> >> > $pro

[PHP] Re: downloading an image

2007-04-11 Thread Roberto Mansfield
Verify that your $type is a correct mime type. Ross wrote: > tthe image does not display although it exists in the table 'images' > > > This calls the download script > > > $property_id = $_SESSION['property_id'] ; > $query = "SELECT * FROM images WHERE property_id='$property_id'"; > $resu