Jump to the post that solved this thread.
Solved: 6 Years, 2 Months, 1 Week ago How are IPs encoded in Database
#1
Solved: 6 Years, 2 Months, 1 Week ago
Hello!
How are IP-Adresses encoded in the Database?

My first idea was that they were splited by dots and every part was converted to hex. Sadly my attempt to change a IP for testing if it works failed.

Then I searched the MyBB-Code (just scanned) and found the my_inet_pton()-Function which returned unreadable results. Is this the function? How to get this values to phpmyadmin?

The $db->escape_binary()-Function seems to have no affect on MySql, has it?

Thanks in advance ...
Thomas131
Reply
Jump to the post that solved this thread.


Messages In This Thread
How are IPs encoded in Database - by Thomas131 - 2015-08-13, 01:08 PM
RE: How are IPs encoded in Database - by StefanT - 2015-08-13, 07:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)