How to unpack IP address v1.8x
I am coding a plugin that manipulates the user table, as of mybb 1.8 the IP addresses are 'packed' so can anyone say how they are packed ? I am currently using the PHP function ntop to unpack the ip address ... however this fails.... Am I missing a pre process on the data before calling ntop ?  
Not in this land alone,
But be God's mercies known,
From shore to shore!
Lord make the nations see,
That men should brothers be,
And form one family,
The wide world ov'er

You can just check how it's done in core.. For example:

Forum Jump:

Users browsing this thread: 1 Guest(s)