Does that get the internet IP or local IP?
On Mac, this returns:
usage: ipconfig <command> <args>
where <command> is one of waitall, getifaddr, ifcount, getoption, getpacket,
set, setverbose
On May 13, 2010, at 7:24 PM, Michael Kann wrote:
> On Windows XP:
>
> on mouseUp
> set the hideConsoleWindows to true
> put shell("ipconfig") into fld 1 // parse out what you want
> end mouseUp
>
>
>
> --- On Thu, 5/13/10, Josh Mellicker <[email protected]> wrote:
>
>> From: Josh Mellicker <[email protected]>
>> Subject: getting the user's (internet, not local network) IP address
>> To: "how to use Revolution" <[email protected]>
>> Date: Thursday, May 13, 2010, 9:14 PM
>> Just thought I'd share this in case
>> it was of any use to anyone, and so at least one post on the
>> list is not about Steve Jobs and Apple's tyrannical actions
>> :-)
>>
>>
>> To get the user's (internet, not local network) IP address,
>> put a text file on your server with this code:
>>
>> <?php echo $_SERVER['REMOTE_ADDR']; ?>
>>
>>
>> Then in your app:
>>
>> get url
>> "http://yourdomain.com/folder-you-put-the-php-file-in/your-php-filename.php"
>>
>>
>> Is there a better
>> way?_______________________________________________
>> use-revolution mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage
>> your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>
>
> _______________________________________________
> use-revolution mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution