GETREMOTEADDR()

From Lianjapedia
Revision as of 07:26, 10 December 2012 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to return the IP address of the client that is connected to the Lianja Server

Syntax

GETREMOTEADDR()

See Also

GETLOCALHOST(), GETREMOTEHOST(), GETREMOTEUSER(), ISSERVER()

Description

The GETREMOTEADDR() function returns the IP address of the client that is connected to the Lianja Server. The address is returned as a character string in 999.999.999.999 format.

An empty string will be returned if the function is not being run via the Lianja Server.

Example

mCurrentIP = getremoteaddr()