2014年5月30日 星期五

【PHP】預防XSS攻擊



*單一變數 $a = stripslashes_gpc($a);
*陣列 array_walk_recursive($_POST, 'stripslashes_gpc');
*不適用網頁編輯器

沒有留言:

張貼留言