B
B
BonBon Slick2017-05-05 22:17:28
PHP
BonBon Slick, 2017-05-05 22:17:28

Check the number of packets that come from the user?

Is it possible and how to find out the number of requests / packets that the user sends to my site?
Set a limit and if it is exceeded, issue a captcha as it does in VK if you send a lot of drugs.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lehha, 2017-05-06
@BonBonSlick

Count in $_SESSION, for example, or better in memcache
set the captcha flag and verification code in the same place

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question