1 | <?php session_start(); ?> |
1 | <input type="text" name="captcha_code" /> |
1 | $img->session_name = 'اسم_الجلسة'; |
1 | $img->font_file = $_SERVER['DOCUMENT_ROOT'] . '/fonts/font.ttf'; |
1 | error_reporting(E_ALL); ini_set('display_errors', 1); |
1 | include_once '/ArCaptcha/ArCaptcha.php'; |
1 | include_once $_SERVER['DOCUMENT_ROOT'] . '/ArCaptcha/ArCaptcha.php'; |