Hello ,
I integrate my portal with SMF .
I include SSI.php in the first of script .
I want my user login by forum's login page and back to my website .but it doesn't back and go to home page of forum . it work corectly in local but it isn't work in my website ! please help me .
this is example of my code :
$_SESSION['login_url']="mydomain.com/index.php";
print '<meta http-equiv="refresh" content="0;URL='.$forums.'/index.php?action=login">';
You need to use ssi_login() instead of the meta refresh.