Re: refresh not working in IE
| From: | Aziz Saleh | Date: | Sun, 15 Jun 2014 18:54:12 +0000 |
| Subject: | Re: refresh not working in IE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323478@lists.php.net to get a copy of this message | ||
On Sun, Jun 15, 2014 at 2:45 PM, hadi <almarzuki2011@hotmail.com> wrote:
> Hi,
>
> I have refresh code to refresh the page every time of second.
> Refresh code is working fine in chrome and mozilla firefox.
> The problem here the refresh code is working fine also in IE, but when I
> click F5 to refresh the page manually it get disable in IE only. And no
> more doing refresh in IE.
> Can someone help regard this matter.
> Thank you.
>
> My code.
>
> $page = $_SERVER['PHP_SELF'];
> $sec = 10;
> header("Refresh: $sec; url=$page");
>
>
>
Try using the absolute URL.