Revision [10896]
This is an old revision of RandomMail made by NilsLindenberg on 2005-08-31 12:32:51.
Fake-Mail action
Ok this code is for fun , but can be usefuluse: fight spam engines to give them buckloads of wrong emailadresses, to spoil their databases with an overflow of fictive adresses
application: paste this action with name: spamemail.php fe
classical action use:
{{spamemail}}
<?php
// coder: Paul Larmuseau
// use: fight spam engines to give them buckloads of wrong emailadresses, to spoil their databases with an overflow of fictive adresses
// it was nice and nifty programming anyway
$randomlengte=rand(3,10);
$fictiefemail = "";
for ($i = 1; $i <= $randomlengte; $i++) {
$fictiefemail .= chr(rand(97,122));
}
$fictiefemail .= "@";
$randomlengte=rand(3,10);
for ($i = 1; $i <= $randomlengte; $i++) {
$fictiefemail .= chr(rand(97,122));
}
$fictiefemail .= ".com";
echo "<a href=mailto:$fictiefemail>$fictiefemail rondam eamil</a>";
?>
// coder: Paul Larmuseau
// use: fight spam engines to give them buckloads of wrong emailadresses, to spoil their databases with an overflow of fictive adresses
// it was nice and nifty programming anyway
$randomlengte=rand(3,10);
$fictiefemail = "";
for ($i = 1; $i <= $randomlengte; $i++) {
$fictiefemail .= chr(rand(97,122));
}
$fictiefemail .= "@";
$randomlengte=rand(3,10);
for ($i = 1; $i <= $randomlengte; $i++) {
$fictiefemail .= chr(rand(97,122));
}
$fictiefemail .= ".com";
echo "<a href=mailto:$fictiefemail>$fictiefemail rondam eamil</a>";
?>
CategoryUserContributions