RE: [PHP] refresh not working in IE
| From: | hadi | Date: | Mon, 16 Jun 2014 00:20:24 +0000 |
| Subject: | RE: [PHP] refresh not working in IE | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323483@lists.php.net to get a copy of this message | ||
> > Try using the absolute URL.
I found the solution. I used (header("Refresh: 10;");) only and it work thank
you for your support.
> > Try using the absolute URL.
>
> Can you give me example using my code how to do it.
> Thanks.
>
>
> > -----Original Message-----
> > From: Aziz Saleh [mailto:azizsaleh@gmail.com]
> > Sent: Sunday, June 15, 2014 9:54 PM
> > To: hadi
> > Cc: php-general@lists.php.net
> > Subject: Re: [PHP] refresh not working in IE
> >
> > 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.
Attachment: [application/pkcs7-signature] smime.p7s
Attachment: [application/pkcs7-signature] smime.p7s