Skip to content

Instantly share code, notes, and snippets.

@mironal
Created July 1, 2012 04:27
Show Gist options
  • Save mironal/3026813 to your computer and use it in GitHub Desktop.
Save mironal/3026813 to your computer and use it in GitHub Desktop.
<?php
/* フォームからの入力をエスケープ */
function h($s){
return htmlspecialchars($s,ENT_QUOTES);
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment