Jump to content


Photo

Password Strength / User Availablity Scripts ?


  • Please log in to reply
3 replies to this topic

#1 itssami

itssami
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 26 March 2006 - 04:03 PM

many of u guys would already have noticed that now a days , on most of the websites , when some one sign in...as he puts his desired username in the textbox , the page shows that it is not available or it is available...without pushing any button etc..
and the second thing , when some one writes the password , on the same screen , it shows that password is weak or password is strong... i think it is done with php ... can some one give me a link to any page where i can access these scripts ? or some one can help me regarding this ?? Thanks for helping always.

#2 Hooker

Hooker
  • Members
  • PipPipPip
  • Advanced Member
  • 193 posts
  • LocationWales, UK

Posted 26 March 2006 - 04:15 PM

Try googling for some tutorials on ajax :)

#3 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 26 March 2006 - 07:00 PM

[!--quoteo(post=358545:date=Mar 26 2006, 05:15 PM:name=Hooker)--][div class=\'quotetop\']QUOTE(Hooker @ Mar 26 2006, 05:15 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Try googling for some tutorials on ajax :)
[/quote]

Hooker is right. The first can be done with AJAX. The second (password strength) can be done with javascript, usually by calling a function with the onChange method.

As for AJAX - [a href=\"http://www.ajaxfreaks.com\" target=\"_blank\"]http://www.ajaxfreaks.com[/a] is a good start...
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#4 phporcaffeine

phporcaffeine
  • Members
  • PipPipPip
  • Advanced Member
  • 361 posts
  • LocationOhio, USA

Posted 26 March 2006 - 07:04 PM

AJAX would be the first option, in your case you'll want to focus on the "onKeyUp, onKeyDown, onBlur & onFocus" events as thats what you'll trap for JavaScript to send to the server via xmlhttpRequest.

The other alternative would be a SOAP interface of sorts.
Thanks,

Ryan Huff
President & Founder, MyCodeTree
support@mycodetree.com | http://mycodetree.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users