PHP ? But we have irev ...
You can use
http://www.tweedly.org/whatismyip.irev
Or if you have your own rev server / on-rev account you can have a
script that does
<?rev
put $_SERVER["REMOTE_ADDR"] & CR
?>
-- Alex.
On 09/02/2011 07:51, David C. wrote:
On Tue, Feb 8, 2011 at 8:43 PM, Paul Dupuis<[email protected]> wrote:
Hello Paul,
If you have access to a reliable web server that will run PHP, then
you can use this code:
<?php
if (getenv(HTTP_X_FORWARDED_FOR)) {
$pipaddress = getenv(HTTP_X_FORWARDED_FOR);
$ipaddress = getenv(REMOTE_ADDR);
echo "Your Proxy IPaddress is : ".$pipaddress. "(via $ipaddress)" ;
} else {
$ipaddress = getenv(REMOTE_ADDR);
echo "$ipaddress";
}
?>
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode