PEAK XOOPS - Re: login with e-mail in englishin japanese

Re: login with e-mail

List posts in the topic

none Re: login with e-mail

msg# 1.1.1.1.1.1.1
depth:
6
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/3 17:55
slyss79  Sergeant   Posts: 143
eheheheh Di Luca is a Great Guy!!!

http://www.sportal.it/sportal/immagini/imagelib/839772.jpg

I have try your code but don't work...

i receive

Quote:
Incorrect login!

Sorry, no corresponding user info was found.

I have correct your code like this:

if( strstr( $_POST['uname'] , '@' ) ) {
	list( $uname ) = $xoopsDB->fetchRow( $xoopsDB->query( "SELECT loginname FROM ".$xoopsDB->prefix('users')." WHERE email='".$myts->addSlashes($_POST['uname'])."'" ) ) ;
}

the code is right and i don't understand where is the problem...
Votes:9 Average:3.33

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!