note 87667 added to function.ip2long
| From: | leng at leng dot ru | Date: | Tue, 16 Dec 2008 02:42:17 +0000 |
| Subject: | note 87667 added to function.ip2long | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-148199@lists.php.net to get a copy of this message | ||
TO kaputt at starnet dot md
Your code is incorrect.
At initial the file data iplist.txt
192.168.0.100/255
172.16.0.0/16
10.0.0.0/8
and current IP 192.168.0.1 your script speaks "allowed!".
It is incorrect.
----
Server IP: 195.54.192.44
Probable Submitter: 127.0.0.1
----
Manual Page -- http://www.php.net/manual/en/function.ip2long.php
Edit -- https://master.php.net/note/edit/87667
Del: integrated -- https://master.php.net/note/delete/87667/integrated
Del: useless -- https://master.php.net/note/delete/87667/useless
Del: bad code -- https://master.php.net/note/delete/87667/bad+code
Del: spam -- https://master.php.net/note/delete/87667/spam
Del: non-english -- https://master.php.net/note/delete/87667/non-english
Del: in docs -- https://master.php.net/note/delete/87667/in+docs
Del: other reasons-- https://master.php.net/note/delete/87667
Reject -- https://master.php.net/note/reject/87667
Search -- https://master.php.net/manage/user-notes.php