An Idea For Anti-Spam

A week or so ago, on my day off from school, I thought of a new anti-spam technique. Look at the following URL:

http://omikron.substandard.net/m/chris/substandard.net
Now, that doesn’t look like an email does it? Try it!!! Yes, it forwards to my email, it works with other stuff too. Try any email in there, just have it like
http://omikron.substandard.net/m/name/domain
Of course the name is before the @ and the domain is the stuff after it.

Since I don’t really want the traffic from all the people that don’t read this, I’ve decided to release my secret, even though most people would figure it out right from reading the first paragraph, and there is probably a better way to do it. I used an htaccess file to do it. Just add the following code to your htaccess file

RewriteEngine On
RedirectMatch /m/(.*)/(.*) mailto:$1@$2
I’ve thought of other ways to do it, but I haven’t tried to implement them. Drew has a cool way of doing it with PHP, it’s just a header() function and it only works for his email.

Note: This is no where near complete, I think of ideas all the time. I will probably also think of more secure ways to do it.

Leave a Reply