summaryrefslogtreecommitdiffstats
path: root/user_guide/general/common_functions.html
diff options
context:
space:
mode:
authorGreg Aker <greg@gregaker.net>2011-08-25 05:58:10 +0200
committerGreg Aker <greg@gregaker.net>2011-08-25 05:58:10 +0200
commit9ff6336415f3da2a81142cb23343060df6196ebe (patch)
tree850711b8f4e981fcd1bf51151b1d71d53f630076 /user_guide/general/common_functions.html
parent073d2c6effd134e36f7e5ed69d1398cbe09d383b (diff)
parentfbac8b4553942db4be52e872d9fd68717e5006e4 (diff)
Merge pull request #291 from kenjis/html_escape
add html_escape() function to escape HTML.
Diffstat (limited to 'user_guide/general/common_functions.html')
-rw-r--r--user_guide/general/common_functions.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/user_guide/general/common_functions.html b/user_guide/general/common_functions.html
index 65457759d..7cff6321c 100644
--- a/user_guide/general/common_functions.html
+++ b/user_guide/general/common_functions.html
@@ -104,6 +104,8 @@ else<br />
<p>This function prevents inserting null characters between ascii characters, like Java\0script.</p>
+<h2>html_escape(<var>$mixed</var>)</h2>
+<p>This function provides short cut for htmlspecialchars() function. It accepts string and array. To prevent Cross Site Scripting (XSS), it is very useful.</p>
</div>