In yii, how to get ip address?
Answer Posted / Paritosh Verma
To get the client IP address in Yii, you can use $this->request->userIP. Here's an example:nn```phpnecho $this->request->userIP;```
Post New Answer View All Answers
What is the latest version of yii?
4