Spam Registrations

  • Lance Dyas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 11 months ago - 2 years 11 months ago #151531 by Lance Dyas
Replied by Lance Dyas on topic Spam Registrations
The form submission when through normal channels is already checked (client side) to see if various field values at least exist.... this spammer is submitting blank values or even explicit null, I changed the database so it wont accept the nulll but any field with a required could on the server side of the post at least check to see if the field is requires and use php !empty() to reject the submissions.
Last edit: 2 years 11 months ago by Lance Dyas.

Please Log in or Create an account to join the conversation.

  • Lance Dyas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 11 months ago #151533 by Lance Dyas
Replied by Lance Dyas on topic Spam Registrations
When I make a pure php form I mark them required with HTML5 methods but I also test the values after submission for instance in php !empty() can test if something is required, if something is an email I can format check, if something is a url I can test that too. And reject if not appropriate

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #151547 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Spam Registrations
Ah, if the field is marked as required, we also check !empty on server side, too. So somehow, Spam bots could still bypass the check

As of right now, we mostly rely on captcha to prevent spams

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc