| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
lo.mc
Joined: 15 Mar 2008 Posts: 5
|
Posted: Sat Mar 15, 2008 2:45 pm Post subject: Log with a php/html script from another website |
|
|
Hello !
I want to automate the log in my phpBB3 forum with a script which is in another webpage, on another website.
I explain. I have a first website to identify members. This website, when the log is ok, redirect to the real forum website.
I want to redirect the login informations posted in the first website to the phpBB3 forum : When my members are redirected to phpBB, i want the forum log auto with their own account.
Little thing : The log informations are the same in the id portail and in the phpBB3 forum
i already have seen some howto with phpBB2 like this :
| Code: | <?php
if ( $userdata['session_logged_in'] != '1')
{
print('<form method="post" action="' . $phpbb_root_path. 'login.php" >
Pseudo : <input type="text" name="username" />
Mot de passe : <input type="password" name="password" />
Connexion automatique : <input type="checkbox" name="autologin" />
<input type="hidden" name="redirect" value="..' . $HTTP_SERVER_VARS['REQUEST_URI'] . '" />
<input type="hidden" name="ext" value="1" />
<input type="submit" name="login" value="Connexion" />
</form>');
}
?>
|
but with phBB3 there is no login.php file...
Someone help me ?
(please, sorry for my approximative english.. i m french..) |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15133
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |