|
From: Adrian C. <adr...@he...> - 2006-03-21 11:48:59
|
Hi Stephan
I use:
$sql =3D "INSERT INTO mantis_user_table ( id, username, realname, =
email, date_created, access_level, enabled, cookie_string)
VALUES ($id, '$username', '$realname', =
'$email', '$date_created', $access_level, $enabled, CONCAT( MD5(RAND()), =
MD5(NOW())) )";
Hope that helps.
Ade
-----Original Message-----
From: man...@li...
[mailto:man...@li...]On Behalf Of Stefan
Fritz
Sent: Tuesday 21 March 2006 08:15
To: man...@li...
Subject: [Mantisbt-dev] HowTo automatically create create users?
Hi all,
to implement a single sign on I hae to create the Mantis users=20
automatically.
I tried already adding users to the mantis_user_table but it doesn't =
work.
I have no idea what to fill the cookie_string field with.
Can anybody tell me how I can add new users to Mantis without the=20
admininstration pages of Mantis? (PHP, perl, etc..)
TIA ®ards
Stefan
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting =
language
that extends applications into web and mobile media. Attend the live =
webcast
and join the prime developer group breaking into this new coding =
territory!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D=
121642
_______________________________________________
Mantisbt-dev mailing list
Man...@li...
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev
______________________________________________________________
This incoming email was virus scanned for HESA by MessageLabs.
______________________________________________________________
|