Rapide Advanced Adulte
   crack   
Resultatscrack   |   Contact

     Manuel PHP     

 

Table :

..NET Functions
.Apache-specific Functions
.Alternative PHP Cache
.Advanced PHP debugger
.Array Functions
.Aspell functions [deprecated]
.BBCode Functions
.BCMath Arbitrary Precision Mathematics Functions
.PHP bytecode Compiler
.Bzip2 Compression Functions
.Calendar Functions
.CCVS API Functions [deprecated]
.Class/Object Functions
.Classkit Functions
.ClibPDF Functions [deprecated]
.COM and .Net (Windows)
.Crack Functions
.Character Type Functions
.CURL, Client URL Library Functions
.Cybercash Payment Functions
.Credit Mutuel CyberMUT functions
.Cyrus IMAP administration Functions
.Date and Time Functions
.DB++ Functions
.Database (dbm-style) Abstraction Layer Functions
.dBase Functions
.DBM Functions [deprecated]
.dbx Functions
.Direct IO Functions
.Directory Functions
.DOM Functions
.DOM XML Functions
.enchant Functions
.Error Handling and Logging Functions
.Exif Functions
.Expect Functions
.File Alteration Monitor Functions
.Forms Data Format Functions
.Fileinfo Functions
.filePro Functions
.Filesystem Functions
.Filter Functions
.Firebird/InterBase Functions
.Firebird/Interbase Functions (PDO FIREBIRD)
.FriBiDi Functions
.FrontBase Functions
.FTP Functions
.Function Handling Functions
.GeoIP Functions
.Gettext Functions
.GMP Functions
.gnupg Functions
.Net Gopher
.Haru PDF Functions
.hash Functions
.HTTP
.Hyperwave Functions
.Hyperwave API Functions
.i18n Functions
.IBM Functions (PDO IBM)
.IBM DB2, Cloudscape and Apache Derby Functions
.iconv Functions
.ID3 Functions
.IIS Administration Functions
.Image Functions
.Imagick Image Library
.IMAP, POP3 and NNTP Functions
.Informix Functions
.Informix Functions (PDO INFORMIX)
.Ingres II Functions
.IRC Gateway Functions
.PHP / Java Integration
.JSON Functions
.KADM5
.LDAP Functions
.libxml Functions
.Lotus Notes Functions
.LZF Functions
.Mail Functions
.Mailparse Functions
.Mathematical Functions
.MaxDB PHP Extension
.MCAL Functions
.Mcrypt Encryption Functions
.MCVE (Monetra) Payment Functions
.Memcache Functions
.Mhash Functions
.Mimetype Functions
.Ming functions for Flash
.Miscellaneous Functions
.mnoGoSearch Functions
.Microsoft SQL Server Functions
.Microsoft SQL Server and Sybase Functions (PDO DBLIB)
.Mohawk Software Session Handler Functions
.mSQL Functions
.Multibyte String Functions
.muscat Functions
.MySQL Functions
.MySQL Functions (PDO MYSQL)
.MySQL Improved Extension
.Ncurses Terminal Screen Control Functions
.Network Functions
.Newt Functions
.NSAPI-specific Functions
.Object Aggregation/Composition Functions
.Object property and method call overloading
.Oracle Functions
.ODBC Functions (Unified)
.ODBC and DB2 Functions (PDO ODBC)
.oggvorbis
.OpenAL Audio Bindings
.OpenSSL Functions
.Oracle Functions [deprecated]
.Oracle Functions (PDO OCI)
.Output Control Functions
.Ovrimos SQL Functions
.Paradox File Access
.Parsekit Functions
.Process Control Functions
.Regular Expression Functions (Perl-Compatible)
.PDF Functions
.PDO Functions
.Phar archive stream and classes
.PHP Options&Information
.POSIX Functions
.Regular Expression Functions (POSIX Extended)
.PostgreSQL Functions
.PostgreSQL Functions (PDO PGSQL)
.Printer Functions
.Program Execution Functions
.PostScript document creation
.Pspell Functions
.qtdom Functions
.Radius
.Rar Functions
.GNU Readline
.GNU Recode Functions
.RPM Header Reading Functions
.runkit Functions
.SAM - Simple Asynchronous Messaging
.Satellite CORBA client extension [deprecated]
.SCA Functions
.SDO Functions
.SDO XML Data Access Service Functions
.SDO Relational Data Access Service Functions
.Semaphore, Shared Memory and IPC Functions
.SESAM Database Functions
.PostgreSQL Session Save Handler
.Session Handling Functions
.Shared Memory Functions
.SimpleXML functions
.SNMP Functions
.SOAP Functions
.Socket Functions
.Standard PHP Library (SPL) Functions
.SQLite Functions
.SQLite Functions (PDO SQLITE)
.Secure Shell2 Functions
.Statistics Functions
.Stream Functions
.String Functions
.Subversion Functions
.Shockwave Flash Functions
.Swish Functions
.Sybase Functions
.TCP Wrappers Functions
.Tidy Functions
.Tokenizer Functions
.Unicode Functions
.URL Functions
.Variable Handling Functions
.Verisign Payflow Pro Functions
.vpopmail Functions
.W32api Functions
.WDDX Functions
.win32ps Functions
.win32service Functions
.xattr Functions
.xdiff Functions
.XML Parser Functions
.XML-RPC Functions
.XMLReader functions
.XMLWriter Functions
.XSL functions
.XSLT Functions
.YAZ Functions
.YP/NIS Functions
.Zip File Functions
.Zlib Compression Functions
 
   

  crack  



Crack Functions

Introduction

These functions allow you to use the CrackLib library to test the 'strength' of a password. The 'strength' of a password is tested by that checks length, use of upper and lower case and checked against the specified CrackLib dictionary. CrackLib will also give helpful diagnostic messages that will help 'strengthen' the password.

Note: This extension has been moved to the » PECL repository and is no longer bundled with PHP as of PHP 5.0.0.

Requirements

More information regarding CrackLib along with the library can be found at » http://sourceforge.net/projects/cracklib.

Installation

This » PECL extension is not bundled with PHP. Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: » http://pecl.php.net/package/crack.

In PHP 4 this PECL extensions source can be found in the ext/ directory within the PHP source or at the PECL link above. In order to use these functions you must compile PHP with Crack support by using the --with-crack[=DIR] configuration option.

Windows users will enable php_crack.dll inside of php.ini in order to use these functions. In PHP 4 this DLL resides in the extensions/ directory within the PHP Windows binaries download. The DLL for this PECL extension may be downloaded from either the » PHP Downloads page or from » http://pecl4win.php.net/

Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

Crack configuration options
Name Default Changeable Changelog
crack.default_dictionary NULL PHP_INI_PERDIR PHP_INI_SYSTEM in crack <= 0.2. Available since PHP 4.0.5. Removed in PHP 5.0.0.
For further details and definitions of the PHP_INI_* constants, see the php.ini directives.

Resource Types

The CrackLib extension defines a dictionary resource identifier returned by crack_opendict().

Predefined Constants

This extension has no constants defined.

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

Table of Contents




 Back to chapter Php

 

Top
 

Add JungleKey to your Explorer

 
 

About Us | © 2007 JungleKey

   PHP 手册



iBlack | Mobile | Wiki | Add Engine
.