Forums / General / Login
Jean-François Sénéchal
Thursday 28 September 2006 7:21:18 am
Hello,
In a template or in a script php I get user's login and password
I want to execute the ezpublish's script login with this two variables How can I execute this ?
for example :
login($user,$password) ??
Thanks a lot for your help
L'informaticien est comme un petit canard: il est calme en surface mais en dessous il brasse beaucoup d'eau pour avancer ...!
Claudia Kosny
Saturday 30 September 2006 5:28:46 am
Hi
In a php script you login like this:eZUser::loginUser( $login, $password );
I don't think you can login from within a template but you can of course write your own operator for this if you really need it.
Greetings from Luxembourg
Claudia
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs