Full-service Internet Marketing & Web Development
Recent Posts

Sponsors
![]() |
No Spam Email ScriptCode Wizard, 12-30-2006 |
This is a very, very simple script written to help stop unwanted emails sent to your email address that was snifted out by spam programs that search websites looking for mailto: tags. With this code the spam programs can not retrieve your email addresses and in return you recieve less spam. Enjoy!
<?php
// Script written by David Smith - webmaster@indywebdesign.com
// Feel free to modify as you see fit.
// Change yourdomain.com to your domain without the www.
// Call script like <A HREF="nospam.php?email=username">Email Username</A>
$domain = "yourdomain.com";
if ($email) {
header ("Location:mailto:$email@$domain");
}
else {
echo "Houston, We have a problem! No Email was present...";
}
?>
|
|
Subscribe Now to receive new posts via Email as soon as they come out.
Comments
Post your comments

