Hey guys

I have an encrypted ip address in php like

$visitor_ip = ip2long($_SERVER);

$visitor_ip looks like this 1860881473

can i decrypt this number to get a proper ip like "42.108.196.150""? if there is a way todo so?

Thanks again

Recommended Answers

long2ip();

:P

Jump to Post

All 2 Replies

hey it worked great, for me, thanks a lot man.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.