PHP - how do you sanitize your contact forms?

Does anyone come across a bulletproof function / class (homemade or native) for pinning contact forms?

+3
source share
3 answers

Cm:

Protect your forms with form keys

Better yet, use:

HTML cleaner

HTML- - - HTML-, PHP. HTML ( XSS) , , , , - W3C. BBCode - HTML-? WYSIWYG, ? , , , ? HTML !

0

OWASP API Enterprise Security , , . - (WAF), PHP-IDS mod_security. WAF . , , , "drop in", .

, , , - , , . , , . , LFI, XSS, CRLF SQL Injection , , //. PHP, PHPSec .

SQL , PHP PDO. , KNOW, SQL-, , .

, , . CSRF . OWASP Top 10.

0

, , .

PHP/mysqli , Rob Poyntz Codesense_mysqi. , .

0

Source: https://habr.com/ru/post/1747141/


All Articles