Đã hoàn thành

PHP: Extra validation on a textarea field. Stop spam-like text

I got a form that many use. I require people to enter minimum 150 characters and that makes some people spam characters or words.

I require some re-coding of the simple validation to include error stops if people spam.

Examples of spam I want to catch:

"join join join join join join"



and so on - The spam can come in many forms, so I need some smart script to identify words and characters that gets repeated X number of times.

X should be around 5, but I would like to set this manually.

The code I have now to validate the character count, that I would like to get expanded with this new spam validation:

$descriptioncount = strlen($_POST['description']);

if ($descriptioncount<150) {

$errors["error"][] = "Description is to short - minimum 150 characters.<br />";


Any PHP wiz out there who can make this? :)

Kĩ năng: PHP, Kiến trúc phần mềm

Xem nhiều hơn: validation, br software, validation script php, count words text, php coding errors, wiz, script validation php, spam software, php stop words script, require people, field validation, number times character count, enter text, php form coding, php code error, short text 150, count words php, validate error, 150 forms, php count words text, 150 simple words, spam code, spam script, simple php form validation code, text 150 words

Về Bên Thuê:
( 15 nhận xét ) Naestved, Denmark

ID dự án: #1741140

Được trao cho:


Simple problem that I'll be happy to solve, I'll provide you with my solution over PMB

$60 USD trong 1 ngày
(58 Đánh Giá)

9 freelancer đang chào giá trung bình $73 cho công việc này


Please check PMB

$50 USD trong 1 ngày
(306 Nhận xét)

HI, I am an expert PHP, Javascript, developer who has developed and customized hundreads of form, and i cna assure that i cna write a script to stop spam, please check PM for more info

$70 USD trong 1 ngày
(83 Nhận xét)

Dear Hiring Manager, We have read your requirements. Please view Private Message for clarification. Thank you

$40 USD trong 1 ngày
(7 Nhận xét)

Wizard here can full fill your wish.

$30 USD trong 0 ngày
(16 Nhận xét)

I can Work On this Soon -> I'm ready to start

$80 USD trong 0 ngày
(3 Nhận xét)

I Can Do [url removed, login to view] PM For More Information.

$50 USD trong 2 ngày
(0 Nhận xét)

Custom software development - The Administrator removed this message due to advertising which breaches our Terms and Conditions.

$250 USD trong 1 ngày
(0 Nhận xét)

Ready to start. Please Check PM.

$30 USD trong 1 ngày
(0 Nhận xét)