[PHP] Re: Printing JPEG images generated with ImageJPEG with IE/WIN

2002-01-26 Thread David_Bourne

>>Hm, it could be that IE tries to reload the picture (which isn't there
>>anymore because the form-data has been expired). Perhaps saving the
>>picture temporarly on the server will prevent the problem.
>>
>
>That could be what is happening. I'm generating data for students to 
>analyze on one page with the hidden form and generating a graph of 
>the data with the next page. The only thing generated is the image. 
>If I date/time stamp the image file I could serve that up on the 
>next page...it would be good to get the right graph to the right 
>student. Might be worth a try.

To answer my own post. That works, i.e. creating a jpeg file and then 
accessing in the next php page. I end up with extra image files 
created for each student/access but a cron entry should get rid of 
them...and they aren't all that big. Extra flexibility with a html 
page instead of just the image. Haven't tested it with Win IE yet 
though...leave that for Monday

David
-- 
David Bourne
OUHSC College of Pharmacy
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: Printing JPEG images generated with ImageJPEG with IE/WIN

2002-01-25 Thread David_Bourne

>To: [EMAIL PROTECTED]
>Message-ID: <[EMAIL PROTECTED]>
>Date: Fri, 25 Jan 2002 16:20:57 +0100
>From: Martin Thoma <[EMAIL PROTECTED]>
>MIME-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>Subject: Re: Printing JPEG images generated with ImageJPEG with IE/WIN
>
>Hm, it could be that IE tries to reload the picture (which isn't there
>anymore because the form-data has been expired). Perhaps saving the
>picture temporarly on the server will prevent the problem.
>

That could be what is happening. I'm generating data for students to 
analyze on one page with the hidden form and generating a graph of 
the data with the next page. The only thing generated is the image. 
If I date/time stamp the image file I could serve that up on the next 
page...it would be good to get the right graph to the right student. 
Might be worth a try.

Curious that it works with Mac IE and Win Netscape but not Win IE.

David
-- 
David Bourne
OUHSC College of Pharmacy
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: Printing JPEG images generated with ImageJPEG with IE/WIN

2002-01-25 Thread Martin Thoma

Hm, it could be that IE tries to reload the picture (which isn't there
anymore because the form-data has been expired). Perhaps saving the
picture temporarly on the server will prevent the problem.

Martin




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]