anti spam field in form

后端 未结 2 1900
-上瘾入骨i
-上瘾入骨i 2021-01-28 18:57

i am using vtiger and recieveing alot of spam on the website contact page i am using this code

        
2条回答
  •  野的像风
    2021-01-28 19:19

    I would recommend You other antiSpam method - with token/private key.

    In HTML form You put this:

    
    
    
    
    
    


    And add also few lines of code before IF condition - for example: fragment with SQL query or send mail, just to check/validate sended token by POST method:

    
    

    AND REMEMBER! Always validate and sanitize all Your input data! :)

提交回复
热议问题