Don’t know how to frase this but I found this code wich works as it should. However I don’t want the redirect in an iframe! Basically what I want is the logged in user to be redirected to his own directory where only he has access to it, makes sense?
if($session->logged_in){
<echo"
iframe id=\"login-form\" frameborder=\"0\" scrolling=\"no\" width=\"100%\" src=\"$serverroot.$session->directory/abc.php\" height=\"400\" align=\"left\"></iframe><br />
";
Should be simple enough (not for me though… 🙂
Anyone care to chip in?!
So then just do a header redirect: