tcpwrap_checktcpwrap のチェックを実行する 説明
bool tcpwrap_check(
string $daemon,string $address,string $user = ?,bool $nodns = false)
この関数は /etc/hosts.allow および
/etc/hosts.deny の内容をもとに、あるクライアントが
パラメータ
戻り値
アクセスが許可されている場合に 例例1 ローカルホストからの全接続を拒否する /etc/hosts.deny ファイルに以下の行が含まれており、 php: 127.0.0.1 以下のようなコードを実行する 参考詳細な情報は、hosts_access(3) の man ページを参照ください。 |