PDA

View Full Version : PHP Script


Centauri Soldier
12-16-2008, 01:51 PM
Ok, I have a script on my website (copied from someone else) that gets the user's ip address and echos it to them. How do I retrieve that info from the script and send it to my application with HTTP.Submit?

<p align="center">

<?php $ip=@$REMOTE_ADDR;
echo "<b>$ip</b>"; ?></h1>

</p>

RizlaUK
12-16-2008, 02:07 PM
http://www.indigorose.com/forums/showpost.php?p=123063&postcount=6

ShadowUK
12-16-2008, 02:07 PM
Dialog.Message("Your IP address", HTTP.Submit("http://shadiku.com/ip.php", {}, 1, 20, 80));

Replace my site with your script URL, If you want to test it. Use my URL as it still works.

Centauri Soldier
12-16-2008, 02:23 PM
:yes:D

Thanks, guys: works beautifully!