Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   IpV6 mod (http://www.bvlist.com/showthread.php?t=12554)

szaby 29th June 2022 18:19

IpV6 mod
 
Hello!

Does anyone have an IpV6 mode for a TBDEV based engine?

Thank You!

TimeTraveler 29th June 2022 20:57

Sure.

Elena 2nd July 2022 09:18

Code:

function ipv6_numeric($ip){$binNum = '';foreach (unpack('C*', inet_pton($ip)) as $byte){$binNum .= str_pad(decbin($byte), 8, "0", STR_PAD_LEFT);}
return base_convert(ltrim($binNum, '0'), 2, 10);}



All times are GMT +2. The time now is 10:43.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.