Get Client IP Address?
sarah.reichelt at gmail.com
Tue Apr 20 23:14:26 CDT 2010
On Wed, Apr 21, 2010 at 2:00 PM, Rick Harrison
<harrison at all-auctions.com> 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 <http://www.troz.net/onrev/samples/test.irev> for the other
elements in this array.
More information about the use-livecode