Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In yii, how to get ip address?



In yii, how to get ip address?..

Answer / 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;```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Yii PHP Framework Interview Questions

How do you proceed when you have to use yii for any application?

1 Answers  


What is components in yii? Explain

1 Answers  


What is helper in yii? Why it is used?

1 Answers  


What are the server requirements to install yii 2.0 framework?

1 Answers  


Explain directory structure of yii 2 framework?

1 Answers  


How you can write a custom component and use it inside your app?

1 Answers  


What is the difference between yii & yii2?

1 Answers  


What is the naming convention in yii framework? Explain

1 Answers  


Why yii is the best framework?

1 Answers  


What is components in yii?

1 Answers  


Can you list some database related functions in yii?

1 Answers  


What is yii 2?

1 Answers  


Categories