Today I've been assaulted by the W32.Sobig.F@mm worm, and I believe the reason is because I post my email address on my website. I'm unfamiliar with how spiders and other email collecting programs work, and would like to block them out while still leaving a clickable link on my site to send me email. When a spider hits my site, does it simply read the code or does it run it? Would breaking my email address onto two lines thwart the program? For example:
echo "<a href='mailto:user@";
echo "domain.com'>Email me</a>";
If the spider merely scans the php code, I believe this would protect my address. However, if it actually runs the code, the above wouldn't appear to have any effect, since it would read the html output string, and thus see the address intact. Right? If this is the case, does anyone know of any other solutions, aside from putting an image with my address up?
Thanks
gorillagogo