| Server IP : 192.169.170.185 / Your IP : 216.73.216.97 Web Server : Apache System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64 User : akhilnew ( 1712764) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/akhilnew/public_html/gastroenterojournal.com/ |
Upload File : |
<?php
session_start();
$image = @imagecreatetruecolor(120, 25);
$background = imagecolorallocate($image, 255, 255, 255);
imagefill($image, 0, 0, $background);
$linecolor = imagecolorallocate($image, 221, 221, 221);
$textcolor = imagecolorallocate($image, 0, 0, 0);
for($i = 0; $i < 6; $i++):
imagesetthickness($image, rand(1, 3));
imageline($image, 0, rand(0, 30), 120, rand(0, 30), $linecolor);
endfor;
$digit = '';
for($x = 15; $x <= 95; $x += 20):
$digit .= ($num = rand(0, 9));
imagechar($image, rand(3, 5), $x, rand(2, 8), $num, $textcolor);
endfor;
$_SESSION['CAPTCHA'] = $digit;
header('Content-type: image/png');
imagepng($image);
imagedestroy($image);
?>