Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Visitor
ip
Visitor::ip PHP Method
Visitor Interface Documentation
Mostra file
Open project: getkirby/toolkit
ip()
public
static
method
Returns the ip address of the current visitor
public
static
ip
( ) :
string
return
string
public static function ip() { return getenv('REMOTE_ADDR'); }
Visitor
acceptance
acceptedLanguage
acceptedLanguageCode
accepts
banned
ip
referer
referrer
ua
userAgent