note 102538 added to function.ip2long
| From: | ionisis dot com at TheSocialExpo dot com | Date: | Sun, 20 Feb 2011 09:41:31 +0000 |
| Subject: | note 102538 added to function.ip2long | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-177152@lists.php.net to get a copy of this message | ||
I've tried to get my comment in, but evidently it's still wider than the word wrap, even
after repeated attempts to mitigate that... so i'll link to the post.
I wrote this function here to fully expand the user's ipv6 address, and then to convert it to
decimal:
http://thesocialexpo.com/?a=SUBS_Blog_Display&id=12981930190593528
Note that if you don't care about it's fully expanded character representation, then
wiessner's function below is probably better to just get the number.
----
Server IP: 69.147.83.197
Probable Submitter: 184.57.140.37
----
Manual Page -- http://www.php.net/manual/en/function.ip2long.php
Edit -- https://master.php.net/note/edit/102538
Del: integrated -- https://master.php.net/note/delete/102538/integrated
Del: useless -- https://master.php.net/note/delete/102538/useless
Del: bad code -- https://master.php.net/note/delete/102538/bad+code
Del: spam -- https://master.php.net/note/delete/102538/spam
Del: non-english -- https://master.php.net/note/delete/102538/non-english
Del: in docs -- https://master.php.net/note/delete/102538/in+docs
Del: other reasons-- https://master.php.net/note/delete/102538
Reject -- https://master.php.net/note/reject/102538
Search -- https://master.php.net/manage/user-notes.php