Forum und email

crack_opendict

(PHP 4 >= 4.0.5, PECL crack:0.1-0.4)

crack_opendict — Opens a new CrackLib dictionary

Description

resource crack_opendict ( string $dictionary )

crack_opendict() opens the specified CrackLib dictionary for use with crack_check().

Warning

Den här funktionen är EXPERIMENTELL. Dess beteende, namnet på den, och allt annat dokumenterat om den här funktionen kan ändras i framtida utgåvar av PHP. Använd den på egen risk.

Note: Only one dictionary may be open at a time.

Parameters

dictionary

The path to the Cracklib dictionary.

Return Values

Returns a dictionary resource identifier on success, or FALSE on failure.