PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Password with blank space

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Authentication
View previous topic :: View next topic  
Author Message
quincia



Joined: 22 May 2007
Posts: 1

PostPosted: Tue May 22, 2007 5:12 pm    Post subject: Password with blank space Reply with quote

Hello everybody,

sorry for my poor english!!

So, i've implemented an authentication service with package Auth.

In the DB the passwords are stored in a table with a column named 'Password' of nvarchar(20).

So, I've an user quincia and password pippo.

When I insert the user quincia and the password 'pippo' the login fail but when I insert user quincia and the password 'pippo' with 15 blank space the login is correct!! Why!!!

In fact, the column in the db have 15 blank space but when I do a

"SELECT from TBUSER where Password='pippo' give back a RecordSet

Thank you very much for help

Umbe
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Authentication All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software