• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[GESIOR ACC] Img verification is missing! HELP, REP++

gnr

New Member
Joined
Dec 18, 2008
Messages
92
Reaction score
0
When I try to create an account, in the code verification, it shows:
Code:
Image Verfication is missing, please contect de administrator.

I don't think it's my browser (Firefox 3.5.5), cause I tested it on IE 8, and it shows the same error.

Please, if someone can help me, I'll rep++
 
open your imagebuilder.php and change

Code:
<?

to

Code:
<?PHP

Should it looks like cause this doesn't work ;o

<?PHP


session_start();
$pool = '0123456789';
$img_width = 80;
$img_height = 30;
$str = '';
for ($i = 0; $i < 4; $i++){
$str .= substr($pool, mt_rand(0, strlen($pool) -1), 1);
}
$string = $str;
$im = imagecreate($img_width, $img_height);
$bg_color = imagecolorallocate($im,103,103,103);
$font_color = imagecolorallocate($im,252,252,252);
$grid_color = imagecolorallocate($im,31,0,0);
$border_color = imagecolorallocate ($im, 174, 174, 174);
imagefill($im,1,1,$bg_color);
for($i=0; $i<500; $i++){

$rand1 = rand(0,$img_width);
$rand2 = rand(0,$img_height);
imageline($im, $rand1, $rand2, $rand1, $rand2, $grid_color);

}
$x = rand(5, $img_width/(7/2));
imagerectangle($im, 0, 0, $img_width-1, $img_height-1, $border_color);
for($a=0; $a < 4; $a++){

imagestring($im, 5, $x, rand(6 , $img_height/5), substr($string, $a, 1), $font_color);
$x += (5*2); #odstêp
}
$_SESSION['string'] = $string;
header("Content-type: image/gif");
imagegif($im);
imagedestroy($im);

<?PHP
 
Should it looks like cause this doesn't work ;o

Try using this one:
Code:
<?     
   session_start(); 
   $pool = '0123456789'; 
   $img_width = 80; 
   $img_height = 30; 
   $str = ''; 
   for ($i = 0; $i < 4; $i++){ 
       $str .= substr($pool, mt_rand(0, strlen($pool) -1), 1); 
   } 
   $string = $str;
   $im = imagecreate($img_width, $img_height); 
   $bg_color     = imagecolorallocate($im,103,103,103); 
   $font_color   = imagecolorallocate($im,252,252,252); 
   $grid_color   = imagecolorallocate($im,31,0,0); 
   $border_color = imagecolorallocate ($im, 174, 174, 174); 
   imagefill($im,1,1,$bg_color); 
   for($i=0; $i<500; $i++){ 

       $rand1 = rand(0,$img_width); 
       $rand2 = rand(0,$img_height); 
       imageline($im, $rand1, $rand2, $rand1, $rand2, $grid_color); 

   }
   $x = rand(5, $img_width/(7/2)); 
   imagerectangle($im, 0, 0, $img_width-1, $img_height-1, $border_color); 
   for($a=0; $a < 4; $a++){ 

       imagestring($im, 5, $x, rand(6 , $img_height/5), substr($string, $a, 1), $font_color); 
       $x += (5*2); #odstêp 
   }
   $_SESSION['string'] = $string; 
   header("Content-type: image/gif"); 
   imagegif($im); 
   imagedestroy($im); 

?>
 
Try using this one:
Code:
<?     
   session_start(); 
   $pool = '0123456789'; 
   $img_width = 80; 
   $img_height = 30; 
   $str = ''; 
   for ($i = 0; $i < 4; $i++){ 
       $str .= substr($pool, mt_rand(0, strlen($pool) -1), 1); 
   } 
   $string = $str;
   $im = imagecreate($img_width, $img_height); 
   $bg_color     = imagecolorallocate($im,103,103,103); 
   $font_color   = imagecolorallocate($im,252,252,252); 
   $grid_color   = imagecolorallocate($im,31,0,0); 
   $border_color = imagecolorallocate ($im, 174, 174, 174); 
   imagefill($im,1,1,$bg_color); 
   for($i=0; $i<500; $i++){ 

       $rand1 = rand(0,$img_width); 
       $rand2 = rand(0,$img_height); 
       imageline($im, $rand1, $rand2, $rand1, $rand2, $grid_color); 

   }
   $x = rand(5, $img_width/(7/2)); 
   imagerectangle($im, 0, 0, $img_width-1, $img_height-1, $border_color); 
   for($a=0; $a < 4; $a++){ 

       imagestring($im, 5, $x, rand(6 , $img_height/5), substr($string, $a, 1), $font_color); 
       $x += (5*2); #odstêp 
   }
   $_SESSION['string'] = $string; 
   header("Content-type: image/gif"); 
   imagegif($im); 
   imagedestroy($im); 

?>


Yeah that works with ?>PHP on that

Rep++
 
Back
Top