Get Client IP Address?

Sarah Reichelt sarah.reichelt at
Wed Apr 21 00:14:26 EDT 2010

On Wed, Apr 21, 2010 at 2:00 PM, Rick Harrison
<harrison at> wrote:
> Hi there,
> I was wondering if there is a way to retrieve,
> and capture the IP address of a client
> connecting to the On-Rev server.
> A rev-script approach would be best if possible.

An On-Rev server script gets supplied with an array called $_SERVER
which contains lots of useful stuff.
Among the elements of this array is $_SERVER["REMOTE_ADDR"] which
contains the IP address of the client.

Check out <> for the other
elements in this array.


More information about the Use-livecode mailing list