- Timestamp:
- 04/22/10 11:15:42 (14 years ago)
- Location:
- branches/2.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/phpgwapi/templates/default/login_default.php
r1933 r2614 104 104 unset($sslattributes); 105 105 } 106 106 session_start(); 107 107 if(isset($passwd_type) || $_POST['submitit_x'] || $_POST['submitit_y'] || $submit) 108 108 { … … 406 406 { 407 407 $aux_captcha = '<div class="login_label" > 408 <img src="./security/captcha.php" title="'.lang('Security code').'" alt="'.lang('Security code').'" style="width:60;"> 408 <input type="hidden" name="' . session_name() .'" value="' . session_id() . '" > 409 <img src="./security/captcha.php?xsid='.session_id().'" title="'.lang('Security code').'" alt="'.lang('Security code').'" style="width:60;"> 409 410 <br /> 410 411 <input class="input" type="text" maxlength="50" size="20" name="codigo" id="codigo" value="" > -
branches/2.1/security/captcha.php
r1574 r2614 106 106 107 107 // ************ Fim da Classe ************************* 108 109 108 110 109 //Cria o CAPTCHA( gera o string e a imagem ... 111 110 $GLOBALS['captcha'] = new captcha; 112 111 // Guarda o string do captcha na session... 112 session_id($_REQUEST['xsid']); 113 session_start(); 113 114 $_SESSION['CAPTCHAString'] = $GLOBALS['captcha'] ->GetCaptchaString(); 114 115 // Vai exibir a imagem do captcha...
Note: See TracChangeset
for help on using the changeset viewer.