plugins/SpecialUserFuncs.php
changeset 456 e133d321fce4
parent 448 f725a16e4a20
child 458 c433348f3628
equal deleted inserted replaced
455:43b908c9b2e2 456: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     {