Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

Bogus Applicants

Status
Not open for further replies.
Joined
Nov 30, 2005
Posts
508
Reaction score
8
I keep getting complete garbage applications on my website.

We added validation to telephone number fields (they can be blank or must be a number) but still get apps like this:

telephone1: PTAbuwVHmbvhrw
telephone2: GbVzlnSfRMtnzqPt

can anyone explain please!

(consolidate.me.uk)
 
What kind of validation do you have?

Is it Javascript, PHP etc?

Here is some php code:

Code:
function check_field2($field_name_2)
{
  if(!preg_match(”/[^0-9\ ]+$/”,$field_name_2))
  return TRUE;
  else
  return FALSE;
}
 
if(!check_field2($your_phone))
{
  echo “Illegal input $your_phone in ‘your_phone’”;
  $error++;
}
 
Thanks for the reply devolution. Afraid I'm not too technical but validation does stop you submitting the form if you enter text in the phone field. So it does appear to be working.

They must be by-passing the validation somehow? or have an old copy of the website from google cache??
 
Because spammers are posting directly to yout PHP form handling program, bypassing your Javascript.
Even putting checks in the PHP won't stop them for long. They'll soon figure out a valid form.

The solutions are complex. Have a read at http://www.mindpalette.com
 
You could try using the re-captcha facility - worked wonders for one of my sites :)
 
You need to carry out the same/similar checks in PHP that you are in JavaScript. Some bots and things post directly to your PHP page and don't oad the JS at all, so will not be affected by any client side validation.
 
Goggle "Sanitize terms to avoid SQL Injection security risk", basically you need to use server side coding (I use Perl) to check (and sanitise) every single input field from a form that is used to query a database, never rely soley on client side (Javascript) coding.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

New Threads

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom