<?php
require ("lutaspam.class.php");
$lutaspam = new lutaspam();
// code the email
$coded_email = $lutaspam->filtra("nospam@onmyemail.pt", 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 />";
?>
|