RE: [PHP] Image Header Issues
| From: | Larry Brown | Date: | Sun, 18 Jan 2004 00:55:11 +0000 |
| Subject: | RE: [PHP] Image Header Issues | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174943@lists.php.net to get a copy of this message | ||
Since putting .jpg solved the problem for me, I'm ok with that work around,
but you're right. I'm using session_start() on all of my scripts. That's
also good to know that it doesn't fail without that function so I have a
better idea of where to look, the next time I have header problems.
Thanks
Larry
-----Original Message-----
From: Toby Irmer [mailto:php@irmer.com]
Sent: Saturday, January 17, 2004 5:12 PM
To: Larry Brown; Bob Eldred; PHP List
Subject: Re: [PHP] Image Header Issues
I have the same problem. Strange: I have a session_start(); before the
header... if I take that out, the image will download as a JPG... so maybe
if you find a way to do things in this script without starting the session
first...
toby
----- Original Message -----
From: "Larry Brown" <larry.brown@dimensionnetworks.com>
To: "Bob Eldred" <bobathome@aqfl.com>; "PHP List"
<php-general@lists.php.net>
Sent: Saturday, January 17, 2004 6:32 PM
Subject: RE: [PHP] Image Header Issues
> try adding showpicture.php?pid=111384&img=x.jpg to the end even though you
> aren't using that variable, IE may see that the type is jpg here. I have
> this same problem/workaround in place right now for a script that wouldn't
> work with IE without it for downloading pdf. (pdf was generated on the
fly)
>
> -----Original Message-----
> From: Bob Eldred [mailto:bobathome@aqfl.com]
> Sent: Saturday, January 17, 2004 12:00 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Image Header Issues
>
>
> Again, it is *not* that known issue. That's the very first thing I
checked.
> If that were the issue, jpgs from other sources would also not save
> properly. But they do, as I've stated several times.
>
> Thanks, though.
>
> Bob
>
> ----- Original Message -----
> From: "Brian V Bonini" <b-bonini@cox.net>
> To: "Bob Eldred" <bobathome@aqfl.com>
> Cc: "PHP Lists" <php-general@lists.php.net>
> Sent: Saturday, January 17, 2004 7:28 AM
> Subject: Re: [PHP] Image Header Issues
>
> This is a known issue with IE. And it is in their knowledge base. If I
> recall the fix is to clear the cache, cookies, and broken/corrupt
> objects.
>
> --
> 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
>