Capelo Posted April 23, 2007 Share Posted April 23, 2007 Hello, guys. I am developing a Flash application for creating postcards, which can be sent by the user to someones mail. Well, as flash can´t create a jpeg image by itself, I got some php codes for that. Everything woks perfectly in FireFox but, when tested in IE, it has a problem: Well, the php code I found to create the image, also records it in the user´s computer. So, if I make one postcard, send it (and it will be recorded), the do another postcard and send it again, it will record always the first postcard. But it send the correct one by mail. I understand this is because the cache of user´s browser, so I was wondering if is there one solution for this, like force the cache cleaning. Well, I would even go for taking off the recording on the user´s computer, so it would only send by e-mail, but I never learned php, so I don´t know which part to delete so it don´t record the image.... I would much appreciate help on this. Thanks in advance P. Capelo Quote Link to comment https://forums.phpfreaks.com/topic/48262-php-image-creator-not-working-well-in-ie/ Share on other sites More sharing options...
MadTechie Posted April 23, 2007 Share Posted April 23, 2007 theirs a few ways, ie Headers <?php header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past ?> or link to the php file withsomething random on the URI ie "image.php?rnd=11:34.22" Quote Link to comment https://forums.phpfreaks.com/topic/48262-php-image-creator-not-working-well-in-ie/#findComment-235913 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.