I have a script that scrambles the email: just replace the wording and it should work. Where it says yours put the front of the email and where it says yours.com put the back and change what you want text to say. Hope this helps. <script language="javascript"> <!-- Hide from old browsers--> function scramble(){ var p1,p2,p3,p4,p5,p6 p1='<a href="mai' p2='yours' p3='">' p1+='lto:' p2+='@' p5='</a>' p6='What you want text to say' p2+='yours.com' p4=p6 document.write(p1+p2+p3+p4+p5) } scramble() //--> </script>
It doesn't necessarily have to be in PHP, but you do need a script to forward the message fields to a site's mail system. HTML mail-to code will work, but that does not give you the luxury of defining several fields for data capture. If you need to define an HTML form with several fields, you can send the data through a Perl script, such as nms FormMail. http://nms-cgi.sourceforge.net/scripts.shtml. Don't use the older Matt's Script Archive FormMail. It is not secure. nms FormMail is the replacement. This will only work if your web site can use Perl.