Hi Larry, of course just having to give up sessions doesn't sound very attractive. I tried adding &img=... to the url that calls the script. Only it didn't help. If you would be so kind as to post your code, maybe I will be able to find my error. If not, I will just have to live without the session_start, and pass the variables I need in the query string. It is not that you have to abolish sessions altogether. Just in the one tiny script that displays the image.
toby ----- Original Message ----- From: "Larry Brown" <[EMAIL PROTECTED]> To: "Bob Eldred" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Sunday, January 18, 2004 5:45 AM Subject: RE: [PHP] Image Header Issues > Giving up sessions for one simple issue sounds a bit drastic. I'll dig up > the header information I'm sending that the x.pdf addition helped me with > and send them to you if you'd like. I can't see anything as strong/secure > as sessions to manage authentication as well as a dozen other performance > benefits. > > Larry. > > -----Original Message----- > From: Bob Eldred [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 17, 2004 11:30 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Image Header Issues > > > OK, that's it. The session_start() is the issue. Unfortunately, the > "&img=x.jpg" didn't help. > > Now I've got to figure out some sorta security without using sessions. > > Thanks, for at least pointing me in the right direction. Now if we could > figure out why this would be happening, that would be great. > > Bob > > ----- Original Message ----- > From: "Toby Irmer" <[EMAIL PROTECTED]> > To: "Larry Brown" <[EMAIL PROTECTED]>; "Bob Eldred" > <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> > Sent: Saturday, January 17, 2004 2:11 PM > 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" <[EMAIL PROTECTED]> > > To: "Bob Eldred" <[EMAIL PROTECTED]>; "PHP List" > > <[EMAIL PROTECTED]> > > 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:[EMAIL PROTECTED] > > > Sent: Saturday, January 17, 2004 12:00 PM > > > To: [EMAIL PROTECTED] > > > 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" <[EMAIL PROTECTED]> > > > To: "Bob Eldred" <[EMAIL PROTECTED]> > > > Cc: "PHP Lists" <[EMAIL PROTECTED]> > > > 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 > > > > > > > > > -- > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php