Message Board

Newbie/Basic Questions

Older Posts ]   [ Newer Posts ]
 How do I mung html in a form?
Author: R.Jarchow   (6 Apr 06 3:21pm)
How do I disguise this example code set 'behind' a form ?

<input name="_recipients" type="hidden" value="siteadmin@returnloads.com">
 
 Re: How do I mung html in a form?
Author: M.Prince   (1 May 06 6:43pm)
You can use HTML entities to encode your email address and it should still work in the form. In your case, you can replace the email address with:

siteadmin&#64;returnloads&#46;com

You should test that to make sure it works. It also won't fool every spambot, but it will fool a number of them. If you are sure that your users will be using Javascript then you could also populate the value of the hidden field with Javascript onsubmit and mung the address where it's stored in the script.

Good luck!

Post Edited (1 May 06 5:44pm)



do not follow this link

Privacy Policy | Terms of Use | About Project Honey Pot | FAQ | Cloudflare Site Protection | Contact Us

Copyright © 2004–25, Unspam Technologies, Inc. All rights reserved.

contact | wiki | email