update : 2015.11.03
php.shukuma.com검색:
|
tcpwrap_check(PECL tcpwrap >= 0.1.0) tcpwrap_check — Performs a tcpwrap check 설명
bool tcpwrap_check
( string
$daemon
, string $address
[, string $user
[, bool $nodns = false
]] )
This function consults the /etc/hosts.allow and
/etc/hosts.deny files to check if access to service
인수
반환값
This function returns 예제Example #1 Deny all connections from localhost If your /etc/hosts.deny file contains: php: 127.0.0.1 And your code looks like:
<?php 참고For more details please consult hosts_access(3) man page. |