PHP » GoLang |
login |
register |
about
|
tcpwrap_check(PECL tcpwrap >= 0.1.0) tcpwrap_check — Performs a tcpwrap check Description
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
Parameters
Return Values
This function returns ExamplesExample #1 Deny all connections from localhost If your /etc/hosts.deny file contains: php: 127.0.0.1 And your code looks like:
<?php See AlsoFor more details please consult hosts_access(3) man page. |
more
Recently updated
more
Most requested
more
Last requests
|