Thread: User system
View Single Post
Old 12-04-2007, 09:59 PM   #2 (permalink)
Wildhoney
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

I like how you've added the registration submit button via Javascript. I'm guessing you've done it like so that spam-bots will have a much more difficult time finding the submit button. Although, I wonder, if they scan the entire pages, with the Javascript intact, which they do, would any regular expression be able to pull it out of there and use it? I think it's definitely possible that it would grab the submit button without even trying to. Perhaps you should use the Javascript to construct the button using concatenation, that way you would break the regular expression that's hot on the heels of patterns.

javascript Code:
<script type="text/javascript">document.write("<p><input" + " type='submit' v" + "alue='Register'></p>"); </script><p><noscript><div class='error_msg'>ERROR: Please enable javascript to register.</div></noscript></p>

Basically just adding in some " + " in random places.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
The Following 2 Users Say Thank You to Wildhoney For This Useful Post:
codefreek (01-02-2008), Dezent (06-08-2008)