入力 フィルタリング

セキュリティ

対象

 状態:-  閲覧数:1,712  投稿日:2015-11-17  更新日:2015-11-18  
入力値
・GET,POST,Cookie

主な関数
・ctype_alnum($string)
・ctype_digit($string)
・preg_match($pattern,$string)
・mb_convert_kana($string,$option)
・mb_strlen($string)
・mb_strwidth


htmlspecialchars / htmlentities / addslashes / mysql_real_escape_string / mysqli_real_escape_string

サニタイズ

コメント投稿(ログインが必要)



週間人気ページランキング / 12-9 → 12-15
順位 ページタイトル抜粋 アクセス数
1 ブラウザを閉じたらセッションデータはどうなるの? | セッション 5
2 例外処理の構文 3
2 PHPで定数を定義する方法は2種類ある / 配列定数の定義 3
3 ログイン 2
3 バッファリング | 出力バッファリング制御(関数) 2
3 PHP用語 2
3 Fatal error(エラーメッセージ) カテゴリー 2
3 mixed | 型 2
3 ブラウザを閉じたらセッションデータはどうなるの? | セッション 2
3 Warning: session_write_close(): Failed to write session data (user) | Warning(エラーメッセージ) 2
3 セッション管理が必要な理由は、HTTPプロトコルには状態を保持する機能がないため | セッション 2
3 session.gc_maxlifetime | セッション 2
4 Parse error: syntax error, unexpected 'public' (T_PUBLIC) | Parse error(エラーメッセージ) 1
4 ブラウザを閉じたらセッションデータはどうなるの? | セッション 1
4 Fatal error: Class declarations may not be nested in ○○ on △△ | Fatal error(エラーメッセージ) 1
4 Composer経由でインストール / Composer経由でインストールした後の使い方 / Composer経由でインストールした後、後日現状確認 1
4 foreach文 | 制御構造 1
4 blurImageメソッド | Imagickクラス 1
4 Catchable fatal error: Object of class DateTime could not be converted to string | Fatal error(エラーメッセージ) 1
4 creating database ERROR!!: exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1 table tally already exists' | SQLite(エラーメッセージ) 1
2025/12/16 1:02 更新