'LinKin Posted August 20, 2014 Share Posted August 20, 2014 Hello, Time ago when I asked for this function someone gave me a php page. function getServerIp() callRemote("http://www.nub.hj.cx/getServerIp.php", function(value) if (value ~= "ERROR") then return value end end) return false end The things is that that page is no longer working... I really need to find another one, could someone help out with this? Thanks. Link to comment
Jusonex Posted August 20, 2014 Share Posted August 20, 2014 I guess the PHP script outputs $_SERVER['REMOTE_ADDR']. Upload the following PHP script and change the url passed to callRemote: <?php echo $_SERVER['REMOTE_ADDR']; ?> Link to comment
'LinKin Posted August 20, 2014 Author Share Posted August 20, 2014 Yeah, I readed it at stackoverflow. Thank you. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now