DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
prevent xss php
echo
htmlspecialchars
(
$string_to_display
,
ENT_QUOTES
,
'UTF-8'
)
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#prevent
#xss
#php
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit