• 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!

Windows No image verification.

Skychi

New Member
Joined
Jul 3, 2009
Messages
25
Reaction score
0
Location
anywhere and everywhere
I ran into several issues when setting up and installing my website. I fixed all of the errors that were generated by the extra text in my config.lua for TFS CryingDamsion. I used Geisor ACC Manager v4 and installed the anti-ddos program I found on this website (ddosevasive). However, when I try to make an account on my server I get no image verification and it says that there are no images. I thought the script randomly generated. I included a screenshot of the error and the script being used.


--script start--
<?
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);

?>

--script end---

Please help me out with this problem, I have a New Years Deadline to meet for the server to be online.
 

Attachments

  • verification code missing.jpg
    verification code missing.jpg
    22.1 KB · Views: 20 · VirusTotal
If you're using xampp then it should work unless you misconfigured it or accidently deleted the img verification file.

If you're not using xampp then you need to enable gd library.
 
Yes, the problem is the Xampp version. It happened to me. You must use Xampp 1.6.6a, like Xexza says.
 
Back
Top