Merhaba arkadaslar,

Bir kac gündür bir script aldim ama hosuma gitmeyen bir sei user reg-de hic bir spam önlem yok, bende simdi ufak bir spam önleme kodu koimak istiyorum

su

<?php

$a = rand(0,99);

$b = rand(0,9);

$c = rand(0,99);

$d = rand(0,9);

$random = "$a"."$b"."$c"."$d";

?>

if($_POST['Submit'])
$code1 = $_POST['code1'];
$code2 = $_POST['code2'];

if($code1 != $code2){

echo "Yanlis cod";

if($ok){
echo "Tmm!";
}else{
echo "tmm";

Ama bi turlu basaramadim bana yardimci olurmusunuz

tum php codunu pastebin-e ekledim

PHP pastebin - collaborative debugging tool

sitem su http://www.turk-mutfak.net/registration_frm.php

Simdiden tesekurler