I am new with developing php things about forms How can I protect the form so someone from outside can't send it info or spam it?
I found this thing https://github.com/PhpGt/Csrf is it good to generate a token for from?
Or should I just generate a new hash from UNIX timestep and his ip address every time that he submits the form? so the next time he will have to get the new hash
some times I have more than one form on one page