摘要:php 防駭 筆記
script 攻擊 ex 留言板
htmlspecialchars
html tag的部份進行編碼
SQL Injection
addslashes
addslashes會把字串中的單引號(')、雙引號( " )、反斜線( \ )及NULL(null byte),在字元前面加上一個反斜線。
委裝請求
1.檢查來源網址
2.重要 請要post
摘要:php 防駭 筆記
script 攻擊 ex 留言板
htmlspecialchars
html tag的部份進行編碼
SQL Injection
addslashes
addslashes會把字串中的單引號(')、雙引號( " )、反斜線( \ )及NULL(null byte),在字元前面加上一個反斜線。
委裝請求
1.檢查來源網址
2.重要 請要post