Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 29th June 2022, 18:19
szaby szaby is offline
Senior Member
 
Join Date: Jul 2008
Posts: 34
Default IpV6 mod
Hello!

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

Thank You!
Reply With Quote
  #2  
Old 29th June 2022, 20:57
TimeTraveler TimeTraveler is offline
Member
 
Join Date: Dec 2015
Posts: 1
Default
Sure.
Reply With Quote
  #3  
Old 2nd July 2022, 09:18
Elena Elena is offline
Senior Member
 
Join Date: Sep 2010
P2P
Posts: 111
Default
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);}
Reply With Quote
The Following User Says Thank You to Elena For This Useful Post:
szaby (2nd July 2022)
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 00:15. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.