Forum Moderators: open
I encountered a site with a CAPTCHA on the contact form.
<img src="/captcha.php?code=s34j4" /> I frequently see domain privacy in the WHOIS but full address details listed on the website
A website with correctly implemented CAPTCHA on the contact form, but the email address listed in plain HTML just above.
<input type="text" name="bd3wr5h5h33nmhg2uzkpklö2421238fgug">
Works like a charm. No captchas needed anymore and my contact forms and my forums are free from automated spam.
At least until someone begins to identify the input fields by order of appearance...
If you used a server script to generate the form, then capture it, you could randomise the names on every page impression. Just a thought if it becomes a problem.
That's what I'm doing. :)
If it becomes a problem I'll randomize the order of appearance, too.
I just remembered the most stupid thing I ever did on my website. I decided it would be a clever idea to send myself an automated email everytime an PHP error occured. I implemented the solution and a few minutes later I already had about 5000 emails in my inbox...
The structure of a stored proc I saw yesterday...
BEGIN TRANSACTION
SELECT id FROM table WHERE it exists
IF NOT record found THEN
do something
COMMIT TRANSACTION
ELSE
ROLLBACK TRANSACTION
...uh...wth. If there is a record found we rollback...rollback what? All we've done is a select. There's no rollback anywere else in the code...so what was the point of having a transaction?