'LinKin Posted August 20, 2014 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. Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
Jusonex Posted August 20, 2014 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']; ?>
'LinKin Posted August 20, 2014 Author Posted August 20, 2014 Yeah, I readed it at stackoverflow. Thank you. Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
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