Re: 0.0.0.0 & iplong()
| From: | Chris Knipe | Date: | Tue, 05 Jun 2012 11:56:40 +0000 |
| Subject: | Re: 0.0.0.0 & iplong() | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318162@lists.php.net to get a copy of this message | ||
> acl allow range: 192.168.0.0/24
> acl deny range: 0.0.0.0/24
>
> CIDR notation allows me to utilize shorthand notation for specifying a range
> of IP's
>
> In those two cases any ip within 192.168.0.0 - 192.168.0.255 is allowed
> while anything else residing between 0.0.0.0 - 255.255.255.255 is denied
Na-uh. You want 0.0.0.0/0, which is valid. 0.0.0.0/24 isn't valid.
--
Regards,
Chris Knipe