News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

$_SESSION['login_url']

Started by adnan, June 11, 2006, 01:04:26 PM

Previous topic - Next topic

adnan

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">';
When I am alone I am happy.
shop giay nam| giay nam dep| giay vnxk

Oldiesmann

You need to use ssi_login() instead of the meta refresh.
Michael Eshom
Christian Metal Fans

Advertisement: