Simple Machines Community Forum

Customizing SMF => Bridges and Integrations => Topic started by: adnan on June 11, 2006, 01:04:26 PM

Title: $_SESSION['login_url']
Post by: adnan on June 11, 2006, 01:04:26 PM
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">';
Title: Re: $_SESSION['login_url']
Post by: Oldiesmann on June 15, 2006, 09:45:22 AM
You need to use ssi_login() instead of the meta refresh.