Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   get password (http://www.go4expert.com/forums/get-password-t18515/)

hoda 13Jul2009 11:44

get password
how can i get password from user in a way that when user enters characters ,characters shown in the page like stars??

naimish 13Jul2009 11:48

Re: get password
after entering the password, change the values into ascii character ;)

shabbir 13Jul2009 12:15

Re: get password
Mask the input field

naimish 13Jul2009 12:21

Re: get password
Yeah, That's what :)

exile 13Jul2009 13:02

Re: get password
input type password shows stars, but you get normal string...

xpi0t0s 13Jul2009 15:32

Re: get password
Switch local echo off, then when the user inputs a character, output a *.

All times are GMT +5.5. The time now is 05:28.