It probably works if you do the following:
$_POST['_user'] = 'username'; $_POST['_pass'] = 'password'; $_POST['_action'] = 'login'; require 'roundcubemail/index.php';
This is very ugly though, overwritting superglobal values; but it works ;)
What's with the underscore before each variabel by the way? Personal preference of Thomas probably, but is it really a good idea to do so? :)
Regards, Sjon
Pavol Cvengros wrote:
Hi,
I am looking for the same thing, I need to log-in user from my application writen in PHP to roundcubemail directly. I need to skip the login/password window (yes, I have their password in my scripts - session)
Pavol
On Tuesday 06 December 2005 13:25, Thomas -Balu- Walter wrote:
On Fri, Dec 16, 2005 at 05:24:12PM +1100, Shaun Lloyd wrote:
Does anyone know how to roundcube thru a php script rather than form.
I'm not sure if I get you correctly? You want to login into roundcube using a php-script? Why do you want to do so?
Balu