warpkari Posted June 5, 2006 Share Posted June 5, 2006 HiDoes 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 More sharing options...
jvrothjr Posted June 5, 2006 Share Posted June 5, 2006 [!--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--]HiDoes 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.