- - Code, Content, and Presentation
- -- PHP Server Side Scripting
- ---- Get The IP
brotherhood_of_LAN - 1:31 am on Jun 8, 2013 (gmt 0)
At least you know the variable is present.
Aftering removing the die() statement, if you're getting no output then obviously your conditions are not being met.
Also, ip2long is for IPv4 addresses...
Thread source: http://www.webmasterworld.com/php/4581733.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com