Created
June 20, 2013 19:32
-
-
Save raulandregp/5825866 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /*require('php-captcha.inc.php'); | |
| $aFonts = array('fonts/VeraBd.ttf', 'fonts/VeraIt.ttf', 'fonts/Vera.ttf'); | |
| $oVisualCaptcha = new PhpCaptcha($aFonts, 200, 60); | |
| $oPhpCaptcha->UseColour(true); | |
| $oVisualCaptcha->Create();*/ | |
| require('php-captcha.inc.php'); | |
| # // define fonts | |
| $aFonts = array('fonts/VeraBd.ttf', 'fonts/VeraIt.ttf', 'fonts/Vera.ttf'); | |
| # // create new image | |
| $oPhpCaptcha = new PhpCaptcha($aFonts, 200, 50); | |
| $oPhpCaptcha->UseColour(true); | |
| $oPhpCaptcha->Create(); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Por favor, verifique se o path das fontes correspondem ao local aonde as fontes estão.
diretorio = Fonts
fonte = VeraBd.ttf