COM checkSpeedlimit
提供: GeeklogJpWiki
lib-common.php>COM checkSpeedlimit
説明
int COM_checkSpeedlimit([string $type = 'submit'], [int $max = 1], [string $property = ''])
間隔制限(SpeedLimit)を適用するかチェックする。
パラメータ
- $type
- type of speed limit, e.g. 'submit', 'comment'
- $max
- max number of allowed tries within speed limit
- $property
- IP address or other identifiable property
返り値
0: does not apply, else: seconds since last post