I think that IE chokes when you don't give it more header information. You
may have to give it a Content-Disposition: "filename.png" as well in the
header command.

http://www.php.net/manual/en/function.header.php

Good luck.

-Dash

p.s. stupid IE

-----Original Message-----
From: Scott Carr [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 30, 2002 1:39 PM
To: PHP Windows
Subject: Re: [PHP-WIN] Re: getting an image from a database


Sorry, I read it, just didn't register before I wrote the email.  ;-)

In that case, just use Mozilla or Opera.  ;-)  jk...

Joking aside:

What version of IE?  Can you send an image file directly from your file
system
to IE and have the image rendered properly?  I.E.  Have an image file on the
c
drive, and use readfile to pass the file to the system.
-- 
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/


Quoting David Elliott <[EMAIL PROTECTED]>:

> Hi Scott
> 
> On 30 July 2002 at 15:10:50 -0500 (which was 21:10 where I live) Scott
Carr
> emanated these words of wisdom
> 
> > What field type are you using to store the image?
> 
> DataType of image (on MSSQL 2000). As I said it works for Opera &
Nutscrape,
> the image can also be pulled out properly by Crystal Reports.
> 
> -- 
>  Bye,                      _______________________________________________
>   David                   |    David  Elliott    |   Software Engineer
|
>  _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534
|
> | Sector Not Found (A)bort, (R)etry, (C)offee?
|
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to