PHPにおけるサニタイズ

使用する関数は

htmlspecialchars


例)

$value = htmlspecialchars($value);


これでデータのサニタイズが行われる。





コメントをどうぞ