Dans le fichier login.html, remplacer toute la partie form par :
- Code: Tout sélectionner
<SCRIPT LANGUAGE="JavaScript" TYPE="TEXT/JAVASCRIPT">
Ext_Login.login('<?=$_GET["username"]?>','<?=$_GET["password"]?>','<?=$_SERVER["REMOTE_ADDR"]?>');
</SCRIPT>
Fichier login.js :
- Code: Tout sélectionner
this.sServerURL = 'proxy.php'; //proxy.php path (or webmail.php path if it is in the same domain)
this.sClientUrl = 'http://mail.ledomaine.com:32000/webmail/'; //WebMail Pro URL
Fichier proxy.php :
- Code: Tout sélectionner
$host = "mail.ledomaine.com";
$path = "/webmail/server/webmail.php";
$port = 32000;

