Đang Thực Hiện

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 thêm: 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

Mã Dự Án: #1741140

Đã trao cho:

SourceBurner

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á)
5.2

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

rabbul

Please check PMB

$50 USD trong 1 ngày
(306 Đánh Giá)
7.6
rosew100

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 Giá)
6.7
milliard

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

$40 USD trong 1 ngày
(7 Đánh Giá)
5.4
dtbang

Wizard here can full fill your wish.

$30 USD trong 0 ngày
(16 Đánh Giá)
4.0
rooshfara

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

$80 USD trong 0 ngày
(3 Đánh Giá)
2.5
saleeh

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

$50 USD trong 2 ngày
(0 Đánh Giá)
0.0
O6wKgHO13

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 Giá)
0.0
parama4u

Ready to start. Please Check PM.

$30 USD trong 1 ngày
(0 Đánh Giá)
0.0