Jump to content

Automatic redirects


warpkari

Recommended Posts

Hi

Does anyone know how I can set up an automatic redirection to a specified iframe ?

at the moment i am using this meta tag but i don't know how to make the page load into another iframe :

<meta http-equiv=Refresh content=2;url=blabla.php>

or maybe there's an alternative method? i just want users who log out to be redirected automatically to a page which is supposed to load in a specific iframe.

cheers!
Link to comment
https://forums.phpfreaks.com/topic/11246-automatic-redirects/
Share on other sites

[!--quoteo(post=380245:date=Jun 5 2006, 11:58 AM:name=warpkari)--][div class=\'quotetop\']QUOTE(warpkari @ Jun 5 2006, 11:58 AM) [snapback]380245[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Hi

Does anyone know how I can set up an automatic redirection to a specified iframe ?

at the moment i am using this meta tag but i don't know how to make the page load into another iframe :

<meta http-equiv=Refresh content=2;url=blabla.php>

or maybe there's an alternative method? i just want users who log out to be redirected automatically to a page which is supposed to load in a specific iframe.

cheers!
[/quote]


You could just use an if statment
if ($UserID <> "") {
include("loggedout.php");
} else {
include("loggedin.php");
}
Link to comment
https://forums.phpfreaks.com/topic/11246-automatic-redirects/#findComment-42105
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.