Jul 20, 2008

Password Strength / User Availablity Scripts ?

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

free web hosting

Password Strength / User Availablity Scripts ?

itssami
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.

Reply

Spectre
AJAX is a reasonably new technique for developing web-based applications where they don't need to be refreshed all the time. Gmail is an example of utilizing AJAX - most of you who use the service would have noticed how whenver you click a link within Gmail's interface, it doesn't seem to load another page or anything. But what you want could be acheived with far simpler JavaScript events.

The strength of a password can be calculated using any programming language. There's not really any set rule as to what makes up a 'strong' password, so no two programs which calculate such values are going to produce identical results; however, users are generally advised to include mixed-case letters (both upper- and lower-case), as well as numbers, and aim for passwords longer than about 8 characters. So most programs which work out how strong a password is use simple rules similar to that.

Reply

Dumbledore
Hi!

For the srength of a password, you should have a look at the so called "crack"-functions. smile.gif These are php functions, with which you can analyse passwords. You have to install the extension (since PHP 5 it is no longer bundled to php), than you can use the following code

CODE
<?php
// Open CrackLib Dictionary
$dictionary = crack_opendict('/usr/local/lib/pw_dict')
     or die('Unable to open CrackLib dictionary');

// Perform password check
$check = crack_check($dictionary, 'gx9A2s0x');

// Retrieve messages
$diag = crack_getlastmessage();
echo $diag; // 'strong password'

// Close dictionary
crack_closedict($dictionary);
?>


The "crack_check" returns true if the password is OK, than the "crack_getlastmessage" returns "strong password".

You can find further information on this topic at

PHP reference

There you'll find the code from above along with a a little bit detailed explanation of what the functions are doing and a short text about installing the extension!

I hope this helps you!
Greets, Chris

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. password strength script - 14.23 hr back. (1)
Similar Topics

Keywords : password strength user availablity scripts

  1. Unexpected T_string In User.php [resolved] - (5)
  2. Gahhh This Isn't Going Well Please Help! - It's a forgot password form in php! (12)
    CODE <? // database connection details stored here include "database.php"; ?>
    <!doctype html public "-//w3c//dtd html 3.2//en"> <html> <head>
    <title>Thanks!</title> </head> <body bgcolor="#ffffff"
    text="#000000"> <? $email=mysql_real_escape_string($email);
    $status = "OK"; $msg=""; //error_reporting(E_ERROR | E_PARSE |
    E_CORE_ERROR); if (!stristr($email,"@") OR !stristr(�...
  3. Registration Form?! - Password Issue??? (6)
    How can I build the registration form with some additional function which is illustrated by attached
    file. When a user tries to type a password, that bar thing says neither it's strong nor weak, or
    medium. Just take a look at attachment...
  4. Releasing Wap/php Scripts? - (3)
    I have created two great scripts one a wap download/ftp-upload script, the other a wapCHAT. How can
    i stop them removing my copyright?...
  5. A Simple Password Page - I can't make one!!! (3)
    I'm trying to make a simple password page for one of my PHP experiments. Every time I try to
    post a password, however, it returns an error that the connection was "closed by the server". The
    entire code is only 3 pages. password.php: $rightuser = ""; $rightpass = ""; include
    ('getpassword.php'); if $_POST !== $rightuser { if $rightuser ==
    '' { ?>The username is incorrect. It should be blank. } else { ?>The username is
    incorrect. It should be . } } else { if $_POST !== $rightpass { if $...
  6. Downloading Scripts - scripts need (2)
    hai i need a downloading scripts in our forum ...
  7. I Need Free Scripts - PhP or ASP (21)
    I need some where i can get Ip traking system, Autosurf or Autotraffic, and such other challenging
    scripts. Where can I get them ? i saw some in Hotscripts.com. /blink.gif' border='0'
    style='vertical-align:middle' alt='blink.gif' /> /unsure.gif' border='0'
    style='vertical-align:middle' alt='unsure.gif' /> ...
  8. Good Scripts - post Good Scripts name here (10)
    Hi dears I want make good sciprs list here i need your help , plz post good scripts name here i
    know vb , IPB , PHPnuke, Postnuke, phpbb , Xoops, mambo , wordpress plz post all kind of php
    scripts here like upload manager , file manager , image manager , blog manager , time , date ,
    portal , shoping manager , forum , shoutbox , chat , adv , counter , topsite , download area ,
    upload area , Calculators , Auctions script , Multi-Level Marketing script , Click Tracking , News
    Publishing script , blogs , Polls and Voting script , Database script (like phpmyadmin) , Search...
  9. Scripts - For Hosting (5)
    Does anybody knows where I can obtain scripts for opening my own hosting provider web-site?...
  10. Php Ftp Upload Form - Adding User Directory to PHP Upload Form - Help (0)
    Alright I am trying to have a PHP FTP Upload Form that allows the user to create the directory
    folder for where they want to upload there files to. example: Main Directory: vainsoft.com There
    directory: vainsoft.com/modeling or vainsoft.com/photography But I dont want them to be able to
    upload things into the main directory, only sub-directories, is that possible with this coding that
    I have: //uses $_FILES global array //see manual for older PHP version info //This
    function will be used to get the extension from the filename function get_extension($fi...
  11. Script That Tracks The User Status - how can I track on or offline users? (4)
    long explaination: hey, I'm building a user profile site right now. And, I kinda know how to
    make a online/offline detector, but not totally sure. I know I can make a mysql database to track
    them, but how does it entrer the information? I could easily put in a field where when they login it
    sets them to online, but if they don't sign out, and just exit the browser, how can I tell.
    short: I want someone to tell me how to make a online/offline status detector, like they have here
    on trap17. I'd be thrilled if you can post to this, thanks, arcticsnpr...
  12. [mysql]get Id Of Loged In User? - (7)
    how to get the id number of the loged in user? my db is id. username. password. i have tryed a
    few things.. but i never seem to get it right /ohmy.gif" style="vertical-align:middle" emoid=":o"
    border="0" alt="ohmy.gif" />...
  13. Wamp Packages Needed To Test Scripts - Set up Apache, PHP, etc on your machine (1)
    In order to test php scripts on your localhost machine, you require a system that includes php
    parsing. A WAMP set-up 'usually' includes a database server, and a database manager, too.
    For Windows machines, theses are usually referred to as WAMP because they include Apache, Mysql, and
    PHP for Windows, hence the acronym WAMP. Wikipedia has a listing of the available packages with
    details about the included versions and often a link to the wikipedia article describing them. The
    list can be found at http://en.wikipedia.org/wiki/Comparison_of_WAMPs Personally, I...
  14. Compare 2 List Of User Ids From Different Tables - (1)
    Hi all. I am trying to make a list out of 2 list. The first list is a complete list of users id
    from users table (List A) The Second list is of users id from another table (List /cool.gif"
    style="vertical-align:middle" emoid="B)" border="0" alt="cool.gif" /> I want to subtrack the user
    ids in List B from List A and make List C. Thanks in advance for any help /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Update: I looked up a old
    sql book i had and found some query examples. I tried the EXCEPT statement in mysql but it dont wor...
  15. Multiple Drop Down Lists ? - Multiple drop down lists to take user to new page (4)
    Hi everyone I was wondering if anyone could help. I want to create a page with multiple drop down
    lists and depending what the user selects decides the page they will be taken to. Sorry i havent
    explained this too well. Here is an example of what i want (link below) the user is also emailed a
    copy http://www.dermalogica.com/SpeedMappingOnl...US®ion=B I have searched the web and come
    close but nothing does it right I would be extremely greatful if anyone could help! Thanks ...
  16. Directing To A User To Specific Page First Time Only - (3)
    I make a signup page. I want that when someone signups and login for first time..then he is directed
    to the page X automatically. but after that it is redirected to Page Y always... Its pretty simple
    thing to do but im not understanding how i can make the script to identify that a person has logged
    in for first time ... anyhelp would be so welcome. Thanks....
  17. Running Php Web Scripts On A Local Machine - (6)
    hi all I'm VERY new to PHP and I'm having a slight problem... I want to be able to run PHP
    scripts on my computer without installing a web browser. Let's say I have this code....
    myScript.php CODE <HTML>   <HEAD>     <TITLE>PHP
    Example</TITLE>   </HEAD>   <BODY> [color=#009900]    <?php
          print "This is an awesome scripting example.";     ?>[/color]
      </BODY> </HTML> ok. if I open this with Firefox or IE or any other Browser, I
    will get a blank docu...
  18. Themed Scripts (weekly) - the theme changes each week (0)
    ok the way this is gonna work is ... from monday to saturday you will be asking for scripts that go
    along with the theme... then on sunday every one will vote on a new theme for the next week... any
    one can ask for a script... any one can post a script... the script DOESN'T NECESSARILY NEED
    TO BE ASKED FOR inorder for you to post it... just make sure it goes along with the theme... or you
    will loose all respect /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
    alt="biggrin.gif" /> any ways this weeks theme is SECURITY So for the fir...
  19. Php Scripts Free For Every One - list of the best php scripts sites (12)
    so what's you favourites php scripts sites? mine are : 1- hotscript 2- phpbuilder 3-
    developershed 4- internet so what's yours? /biggrin.gif" style="vertical-align:middle"
    emoid=":D" border="0" alt="biggrin.gif" />...
  20. Phpbb Customization? - wappy is not so great with web scripts :-) (7)
    ok i feel a little silly posting this as im sure the answers are simple but im really not used to
    working with pre-made web scripts that have so many files: Q1. I have added a real cool army theme
    to my phpBB with a matching smiley set and its looking good, i also have the matching rank icons but
    where on earth do i upload them in the script? Q2. Which file in my template/style/script do i need
    to edit to place some extra links at the bottom of my index page, for example a link back to my main
    site or some link exchange links/web partners?...
  21. Papular Wap Scripts 4 Your Sites - collection of WAP scripts (3)
    Redirect script webbrowser from wap to web and wapbrowser from web to wap. CODE <?
    $htmlredirect = "http://kralj.frih.net"; $wmlredirect =
    "http://kralj.r8.org";
    if(strpos(strtoupper($HTTP_ACCEPT),"VND.WAP.WML") > 0){
    header("Location: ".$wmlredirect);} else{ header("Location:
    ".$htmlredirect); exit;} ?>
    ================================================================== Graphic counter. !!!
    Dont forget to create count...
  22. How Do Scripts Select To Be Placed In Fantastico - Question (2)
    hi all i write famp3 in hotscripts. i want continue next version of this script or an other but i
    have one question How do Scripts Select To be placed in fantastic ? cpanel search in scripts website
    and Select ? or cpanel choise top rate scripts ? some scripts is new and they are not popular !
    if my script take top rate or popular cpanel choise it for fantastic or not ? my next Question is
    fantastic 2 is true or not ? somewhere i heard fantastic 2 or hot fantastic ! is it true ?
    thanks all /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="sm...
  23. Free Web Forum Scripts? - Question on web forum scripts (7)
    Can someone please tell me which of the free forum scripts is the best and why? I like these forums
    but i notice the script is not free lol ;-)...
  24. Uploading From Url - any scripts? (9)
    Is there any scripts that allows user to upload files from a certain url to your server?...
  25. Php, Some Easy Scripts - Just wanted to say i learned alot (3)
    Yo fella's i made some easy to use php scripts. If you need a specific script you can always
    ask me. /laugh.gif' border='0' style='vertical-align:middle' alt='laugh.gif' /> Sry i made
    them in dutch but i will translate them /rolleyes.gif' border='0' style='vertical-align:middle'
    alt='rolleyes.gif' /> ...
  26. Good Free Php Scripts - (10)
    Hi I found this nice script here descriptions: An automated script submission tool would be
    great, but because every script directory's submission process is so unique, automation is
    nearly impossible. So we built Script Promotion Wizard, a free tool you can add to your web site or
    use on a local server that will help you manage script promotion to script directories. With Script
    Promotion Wizard, you can save script profiles, and add addition script directories as you learn
    about them. The script is very easy to install and use, is completely free and contai...
  27. Phpbb Password Protector - Any Good Ones Out There? (3)
    I have searched and searhed and searched for a good Password Protection Mod for the PHPBB Forums,
    but i cannot find one that will work, i have uploaded the files necessary to the Admin/mods section,
    then i do what it says in the file that tells me how to do it, but they never work for me.. im
    Getting this.. QUOTE Warning: main(./extension.inc): failed to open stream: No such file or
    directory in /home/phillip/public_html/rpg/admin/mods/Password-protected forums
    0.5.1/phpbb_root_path/db_update.php on line 22 Warning: main(./extension.inc): failed to open
    stream: No...
  28. Cleaning User Input With Regex - (1)
    As anyone who works with user input knows, not everyone who submits information makes it look
    proper. One one of my web forms, I parse all the needed fields that I wish to be title cased; their
    name, address, city, etc. I use this to perform this action, which works nicely: PHP Code: CODE
    $string = ucwords(strtolower($string)); This fixes the input if
    the user types in all caps or all lowercase. There is a problem I have been noticing about those who
    enter a generation after their name, such as "Bill Warner III". The above functio...
  29. Need Scripts For Testing Server's Limitation - (6)
    There are lots of web hosting provider and some of them are free. How can you know what problem
    your PHP scripts would involved in when you get a web hosting which supports PHP. I have found 2
    problems. One is about the function mail(), the other is about safe mode. Of course, there may be
    others problems, I hope someone can adds the problem in this thread for more detail discussion. The
    first question is how I can know the function mail() work properly. If you use function mail() in
    your PHP scripts, error message may be shown if the server does not support sendmail....
  30. User Login System With Setcookies - (13)
    a friend of mine is quite good at php and told me not to use sessions and to use setcookie im not
    sure how to use setcookie to make a user authentication system and was wondering if anyone here know
    a tutorial on how to do it...



Looking for password, strength, user, availablity, scripts

Searching Video's for password, strength, user, availablity, scripts
advertisement



Password Strength / User Availablity Scripts ?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE