i am wanting to hide email address from bot's and harvesters. I have used the dec/hex encoding however more well wrote and designed bots can still get your email address so this is where the following comes in.
I want to hold the email address in a varible in php, this is ultimatly hidden from the source code. The idea is to pass the data from the php varible to a java varible.
Once the varible is in java i can then use the document.write command to display the email address, however harvesters and bots wont be able to find it, as it doesnt exist as a plain email.
Now i can make the java varible equal that of the php once easy by using an echo statement to output some java code saying x = y, but then i will end up with the email address visible in the java code.
However to combat this problem my other solution would be to encrypt the php varbible, so when outputting the echo statment to java its not plain text, then use java to unecyrpt, then use the document.write funtion.
This will be used on my own websites and wasnt to reduce the amount of spam as much as possible... 50 - 100 spam emails a day is now doing my head in. 😃