ألف شكرر اخي الكريم خاصية روووووغة
لكن ممكن تشرح لنا الكود
كود PHP:
<?
session_start();
$text = rand(10000,99999);
$_SESSION["captchacode"] = $text;
$height = 25;
$width = 65;
$image_p = imagecreate($width, $height);
$black = imagecolorallocate($image_p, 0, 0, 0);
$white = imagecolorallocate($image_p, 255, 255, 255);
$font_size = 14;
imagestring($image_p, $font_size, 5, 5, $text, $white);
imagejpeg($image_p, null, 80);
?>
سطر بسطر
لأني ما فهمت شي منه
و شكرا مسبقا ..