web_master Posted April 12, 2008 Share Posted April 12, 2008 hi, I got a script and with this script I upload the the photo. when I change the photo on preview I can see the new photo only if I take a force reload with browser (ctrl + reload) Ill try with: <meta http-equiv="expires" content="0" /> <meta http-equiv="pragma" content="no-cache" /> in header and Ill also try wirh reload with: <?php print "<meta http-equiv=\"refresh\" content=\"0; url=".$_SERVER['PHP_SELF']."?reload=".$_REQUEST['reload']."&email_id=".$_REQUEST['email_id']."\" />"; ?> but nothing help, only a force reload... have any other solution? thnx. Link to comment https://forums.phpfreaks.com/topic/100787-force-reload/ Share on other sites More sharing options...
Rohan Shenoy Posted April 12, 2008 Share Posted April 12, 2008 I am not sure but try putting the no-cache headers at the bottom. There is some 64K buffer explanation for this, I don't remember what that was exactly. Link to comment https://forums.phpfreaks.com/topic/100787-force-reload/#findComment-515464 Share on other sites More sharing options...
web_master Posted April 12, 2008 Author Share Posted April 12, 2008 Its work its looks like, only problem is that is not valid xhtml document Link to comment https://forums.phpfreaks.com/topic/100787-force-reload/#findComment-515467 Share on other sites More sharing options...
web_master Posted April 12, 2008 Author Share Posted April 12, 2008 I find something and try it: 3 things will need for force reload: <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="0" /> <meta http-equiv="pragma" content="no-cache" /> all 3 elements is in head I hope that will work Link to comment https://forums.phpfreaks.com/topic/100787-force-reload/#findComment-515469 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.