Closed Thread Icon

Topic awaiting preservation: Spam Bot Traps Pages that link to <a href="https://ozoneasylum.com/backlink?for=24516" title="Pages that link to Topic awaiting preservation: Spam Bot Traps" rel="nofollow" >Topic awaiting preservation: Spam Bot Traps\

 
Author Thread
Ensellitis
Bipolar (III) Inmate

From: New York, USA
Insane since: Feb 2002

posted posted 12-28-2004 08:26

I was just wondering, do spam bot traps still work? Or are they useless now, like have they found ways around it?

Skaarjj
Maniac (V) Mad Scientist

From: :morF
Insane since: May 2000

posted posted 12-28-2004 12:08

well tell us what traps you're talking about and we may be able to help you further


Justice 4 Pat Richard

Ensellitis
Bipolar (III) Inmate

From: New York, USA
Insane since: Feb 2002

posted posted 12-28-2004 12:53

Something like this

code:
<?php
for ($j=0; $j<1200; $j++) {
$randomsize = "754698";
$length1 = $randomsize[(int)rand(0,5)];
$length2 = $randomsize[(int)rand(0,5)];
$email = randomstring($length1, $length2);
echo ("<a href=mailto:$email>$j</a>\n");
}


function randomstring($length1, $length2) {
$randstring = "1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
$extensions = array("com", "net" , "org" , "tk" , "ca", "edu", "gov");
srand ((double) microtime() * 1000000);
for($i = 0; $i < $length1; $i++) {
$prefix .= $randstring[(int)rand(0, 61)];
}
for($i = 0; $i < $length2; $i++) {
$domain .= $randstring[(int)rand(10, 35)];
}
$dot = $extensions[(int)rand(0, 4)];
$email = $prefix . "@" . $domain. "." . $dot;
return $email;
}
?>



« BackwardsOnwards »

Show Forum Drop Down Menu