Hi there,
I'm putting together a PHP site. I would like to add a simple HTML form that would allow my visitors to log directly into moodle hosted on a different server. Here is what I picked up from the current login page:
<form action="http://myhost/moodle/index.php" method="post" name="form" id="form">
<input type="text" name="username" size="15" value="" />
<input type="password" name="password" size="15" value="" />
<input type="submit" name="Submit" value="Connexion" />
</form>
It does not work. There is probably another <INPUT> I'm missing to succesfully connect. Sounds simple but I can't make it work...
Could anybody please give me a hint? My site is in PHP so I can get Session Id, etc.
Thanks!
Chris