DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
Input sanitization to prevent XSS
$name = $_GET["name"]; $safename = htmlspecialchars($name); echo "Welcome $safename";
Source by rules.sonarsource.com #
PREVIOUS
NEXT
Tagged:
#Input
#sanitization
#prevent
#XSS
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit