Location: PHPKode > scripts > Luta Spam > luta-spam/example.php
<?php
require ("lutaspam.class.php");

$lutaspam = new lutaspam();

// code the email
$coded_email = $lutaspam->filtra("hide@address.com", 0);
echo "<strong>Coded email</strong>: ", $coded_email, "<br />";

// decode the email
$decoded_email = $lutaspam->filtra($coded_email, 1);
echo "<strong>Decoded email</strong>: ", $decoded_email, "<br />";
?>
Return current item: Luta Spam