Prevent XSS in PHP

Loading

You should use htmlspecialchars() function to Prevent XSS in PHP.

For Example:

$name=htmlspecialchars($_POST['name']);

 


0 0 votes
Article Rating
Subscribe
Notify of

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x