Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ManaPHP
Http
RequestInterface
getClientAddress
ManaPHP\Http\RequestInterface::getClientAddress PHP Method
RequestInterface Interface Documentation
Show file
Open project: manaphp/manaphp
getClientAddress()
public
method
Gets most possibly client IPv4 Address. This methods search in $_SERVER['REMOTE_ADDR'] and optionally in $_SERVER['HTTP_X_FORWARDED_FOR']
public
getClientAddress
( ) :
string
return
string
public function getClientAddress();
RequestInterface
get
getAccessToken
getClientAddress
getFiles
getGet
getHeader
getJsonBody
getMethod
getPost
getPut
getQuery
getRawBody
getReferer
getScheme
getServer
getUri
getUrl
getUserAgent
has
hasFiles
hasGet
hasPost
hasPut
hasQuery
hasServer
isAjax
isDelete
isGet
isHead
isOptions
isPatch
isPost
isPut
setClientAddress