Hi all,
i want to bypass the login screen so that username+password for each user is automatically retrieved from a mysql db in clear text.
the idea is that an ID,username & password is stored in a database.
in the url of roundcube i want to add the id and make roundcube retrieve the corresponding username & password from the database.
when accessing roundcube i appended a SSID value like this:
https://webmail.xxx.mu:21443/index.php?ssid=333
in index.php i added some code at the top to retrieve the SSID using GET but its not working:
PHP Code:
<?php
////////////////////////////////////////////////////////
$ssid = $_GET['ssid'];
$myFile = "/tmp/session";
$fh = fopen($myFile, 'w') or die("can't open file");
fwrite($fh,$ssid);
fclose($fh);
////////////////////////////////////////////////////////
// include environment
require_once 'program/include/iniset.php';
thanks..coolatt
Hotmail: Powerful Free email with security by Microsoft. https://signup.live.com/signup.aspx?id=60969
List info: http://lists.roundcube.net/users/