please i want to know how to avoid hacker from hacking my website using forms
i wrote only in the post:
PHP Code:
htmlspecialchars($_POST['first_name']);
notice that i made validation using javascript to my form..
but hackers can make sql statment to delete my DB or any type of hacking..
but my question is : can the code htmlspecialchars avoid hacking from forms?? or how to avoid it??
how to stop hackers or avoid them from hacking my website??
|