- Timestamp:
- 04/22/10 11:26:40 (14 years ago)
- Location:
- branches/2.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/phpgwapi/templates/default/login_default.php
r1934 r2615 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.0/security/captcha.php
r1174 r2615 105 105 106 106 // ************ Fim da Classe ************************* 107 108 107 109 108 //Cria o CAPTCHA( gera o string e a imagem ... 110 109 $GLOBALS['captcha'] = new captcha; 111 110 // Guarda o string do captcha na session... 111 session_id($_REQUEST['xsid']); 112 session_start(); 112 113 $_SESSION['CAPTCHAString'] = $GLOBALS['captcha'] ->GetCaptchaString(); 113 114 // Vai exibir a imagem do captcha...
Note: See TracChangeset
for help on using the changeset viewer.