Re: How to limit source IP in PHP
| From: | Mihamina Rakotomandimby | Date: | Thu, 13 Sep 2012 16:19:21 +0000 |
| Subject: | Re: How to limit source IP in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319061@lists.php.net to get a copy of this message | ||
On 09/12/2012 04:53 PM, Tonix (Antonio Nati) wrote:
PHP script can freely choose which IP to bind.PHP doesnt bind at all. The HTTP server (Apache, Lighthttpd,...) does. PHP is called only when the HTTP server wants (you configure it that way): make Apache handle PHP on conditionnal REMOTE_HOST if possible (I did not look deep into APache documentation) -- RMA.