Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

How to read IP addresses stored in users table ?

+1 vote
I have such values 3558726747 or 1586583636 - how to get ip from this ?
asked Oct 18, 2011 in Q2A Core by Krzysztof Kielce

1 Answer

+2 votes
 
Best answer

$number = '1586583636 ';

$ip = long2ip($number); //output: 212.29.220.91

I guess it may works.

 

answered Oct 18, 2011 by qqas
Thanks, it works.