login on external webpage

login on external webpage

par Eric Henson,
Nombre de réponses : 3

Hello,

I was wondering if it was possible to make an external html or php page with imbeded login name and password fields which authenticates and opens the moodle website in a new window?

Moyenne des évaluations  -
En réponse à Eric Henson

Re: login on external webpage

par Eric Henson,

Is anyone using an external page to authenticate their Moodle site?  I am hoping to embed the username and password boxes in a page on a seperate php or html page.

Thanks,

En réponse à Eric Henson

Re: login on external webpage

par Utilisateur supprimé,

Try this link:

http://moodle.org/mod/forum/discuss.php?d=67079

Also, try searching for REMOTE LOGIN in the forums

En réponse à Utilisateur supprimé

Re: login on external webpage

par Utilisateur supprimé,

Just playing around with the Remote Login (External Login), and I've attached a sample with simplified code in it.

LOGIN CODE

<form action="http://moodle.org/login/index.php" target="_self" method="post" name="form" id="form">

Username:<input type="text" name="username" size="15" /> <br>

Password:<input type="password" name="password" size="15" /> <br>

<input type="submit" name="Submit" value="Login" /> <br><br>

</form>

FORGOT PASSWORD CODE (using Forms)

<form action="http://www.moodle.org/login/forgot_password.php?" target="_self" method="get" name="form3" id="form3">

Forgotten your password?<br>

<input type="submit" value="Click here" />

&nbsp;to have it sent to you by e-mail.

</form>

FORGOT PASSWORD CODE (using an HREF LINK)

<a href="http://www.moodle.org/login/forgot_password.php?" target="_self" alt="Forgot Password">Click here if you forgot your password</a>