Jump to content

force reload


web_master

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.