PhpCaptcha::DisplayShadow PHP Method

DisplayShadow() public method

public DisplayShadow ( $bCharShadow )
    function DisplayShadow($bCharShadow)
    {
        $this->bCharShadow = $bCharShadow;
    }

Usage Example

Beispiel #1
0
 function image()
 {
     $imagesPath = APP . 'vendors' . DS . 'phpcaptcha' . '/fonts/';
     $aFonts = array($imagesPath . 'VeraBd.ttf', $imagesPath . 'VeraIt.ttf', $imagesPath . 'Vera.ttf');
     $oVisualCaptcha = new PhpCaptcha($aFonts, 220, 60);
     $oVisualCaptcha->UseColour(true);
     $oVisualCaptcha->SetNumLines(false);
     $oVisualCaptcha->DisplayShadow(false);
     //$oVisualCaptcha->SetOwnerText('Source: '.FULL_BASE_URL);
     $oVisualCaptcha->SetNumChars(5);
     $oVisualCaptcha->Create();
 }
All Usage Examples Of PhpCaptcha::DisplayShadow