plugins/SpecialUserFuncs.php
changeset 283 e133d321fce4
parent 274 f725a16e4a20
child 285 e72bf2c24875
equal deleted inserted replaced
282:43b908c9b2e2 283:e133d321fce4
   359   {
   359   {
   360     $_GET['coppa'] = ( isset($_POST['coppa']) ) ? $_POST['coppa'] : 'x';
   360     $_GET['coppa'] = ( isset($_POST['coppa']) ) ? $_POST['coppa'] : 'x';
   361     
   361     
   362     $captcharesult = $session->get_captcha($_POST['captchahash']);
   362     $captcharesult = $session->get_captcha($_POST['captchahash']);
   363     $session->kill_captcha();
   363     $session->kill_captcha();
   364     if($captcharesult != $_POST['captchacode'])
   364     if(strtolower($captcharesult) != strtolower($_POST['captchacode']))
   365     {
   365     {
   366       $s = 'The confirmation code you entered was incorrect.';
   366       $s = 'The confirmation code you entered was incorrect.';
   367     }
   367     }
   368     else
   368     else
   369     {
   369     {