php - Getting IP Address of a user who sent a cURL request -
i want ip address of user sent request server using curl post method in php ?
i'm developing flight api, i'll requests using curl post method, i've ip address of client , validate weather ip address available or not. if available in db sent him response json.
is possible anyway in php ?
you can request ip address server variable.
$_server["remote_addr"]
Comments
Post a Comment