Fatal error: Uncaught Error: Call to undefined function ereg() in /www/wwwroot/123cha/ip/ip.func.php:224 Stack trace: #0 /www/wwwroot/123cha/ip/ip.func.php(56): getIp() #1 /www/wwwroot/123cha/ip/index.php(80): getIpLocation('182.162.17.218') #2 {main} thrown in /www/wwwroot/123cha/ip/ip.func.php on line 224