Recently, a friend of mine posted their email address using the mailto
tag and has received a lot of spam bots because of this.
I'm just wondering whether or not it is possible to detect whether a person is using a "proper" browser to access the webpage, and, if they are, display the email address, if they are not, then do not display their email address?
I know you can get what someones email address is using HTTP_USER_AGENT
but I don't really want to have to compile an array of the capable browsers and just wondered whether or not there is a pre-defined function in PHP.
Any help would be greatly appreciated.
P.S. I'm not asking for specific code, references will do.