COM applyFilter

提供: GeeklogJpWiki

lib-common.php>COM applyFilter

説明

string   COM_applyFilter  (string $parameter, [boolean $isnumeric = false]) 

GET (URL) か POSTで受けとったパラメータをフィルタリングする

パラメータ

$parameter
the parameter to test
$isnumeric
true if $parameter is supposed to be numeric

返り値

the filtered parameter (may now be empty or 0)

参考

個人用ツール