ja:rule:num:データ型を指定する場合はデータの表現可能範囲に注意する
Differences
This shows you the differences between two versions of the page.
| ja:rule:num:データ型を指定する場合はデータの表現可能範囲に注意する [2016/03/20 00:03] – created yohgaki | ja:rule:num:データ型を指定する場合はデータの表現可能範囲に注意する [2016/03/20 00:04] (current) – [適合コード例(String type)] yohgaki | ||
|---|---|---|---|
| Line 52: | Line 52: | ||
| } | } | ||
| + | // There should be arbitrary length limit validation | ||
| + | if (strspn(strlen($_GET[' | ||
| + | throw new Exception(' | ||
| + | } | ||
| + | // Validate $_GET[' | ||
| + | if (strspn($_GET[' | ||
| + | throw new Exception(' | ||
| + | } | ||
| $ret = findRecord($_GET[' | $ret = findRecord($_GET[' | ||
ja/rule/num/データ型を指定する場合はデータの表現可能範囲に注意する.1458432217.txt.gz · Last modified: 2016/03/20 00:03 by yohgaki
