Created
August 1, 2011 13:05
-
-
Save rskull/1118089 to your computer and use it in GitHub Desktop.
よく使うアレを使いやするしたものです
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//$get = e($_GET['get']); | |
function e($str, $charset = 'UTF-8') { | |
return htmlspecialchars($str, ENT_QUOTES, $charset); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment