For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > March 2006 > Passing Query to Internet Explorer









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Passing Query to Internet Explorer
Michel Angelo

2006-03-26, 3:57 am

Hi All!

While the following works just fine with Firefox, it doesn't with Internet
Explorer:
if ($action == "view") {
$pass_id = $row[$this->IDfield];
if (isset($_GET["id"])){
$passw= $_GET["id"];
$this->passw = $passw;
}
$url = "appdetail.php?id=".$passw;
$delay = "0";
echo '<meta http-equiv="refresh"
content="'.$delay.';url='.$url.'">';
}

Why?
And more importantly, how to fix it ?

Thank you !


David Haynes

2006-03-26, 7:57 am

Michel Angelo wrote:
> Hi All!
>
> While the following works just fine with Firefox, it doesn't with Internet
> Explorer:
> if ($action == "view") {
> $pass_id = $row[$this->IDfield];
> if (isset($_GET["id"])){
> $passw= $_GET["id"];
> $this->passw = $passw;
> }
> $url = "appdetail.php?id=".$passw;
> $delay = "0";
> echo '<meta http-equiv="refresh"
> content="'.$delay.';url='.$url.'">';
> }
>
> Why?
> And more importantly, how to fix it ?
>
> Thank you !
>
>


I think the url has to be an absolute reference not a relative one.

-david-

Michel Angelo

2006-03-26, 6:57 pm

Relative or absolute, none is working under internet explorer, but still
works fine under Firefox.
Thank you for the suggestion!

"David Haynes" <david.haynes2@sympatico.ca> wrote in message
news:fLuVf.20815$uL.3307@fe73.usenetserver.com...
> Michel Angelo wrote:
>
> I think the url has to be an absolute reference not a relative one.
>
> -david-



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com