Related Links : Search Engine Optimization | | Search Engine Marketing | Online Marketing | Freelance Programmer| SEO Thailand | SEO Expert | SEO services | PHP Programmer Thailand | SEO Tutorial | What is SEO |

  Home Our SEO Services SEO Expert Consultant Php Programmer Keyword Suggestion Scripts | Email : sachin {at} jainsachin {dot} com

PHP | Examples | Manual | Tutorial | Help

SEO Services



Website Programming in PHP / MYSQL



SEO Tools




    Examples

    Examples

    This example shows how to open a CrackLib dictionary, test a given password, retrieve any diagnostic messages, and close the dictionary.

    Example #1 CrackLib example

    <?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);
    ?>

    Note: If crack_check() returns TRUE, crack_getlastmessage() will return 'strong password'.


    SEO Tutorial / Articles



    Php / Mysql Tutorial



    Articles



      Other Topics



      SEO by Jainsachin