How to get the server name using the Yii Framework 1.1.x

No Comments

Use the code below to obtain the server name

Yii::app()->request->serverName

Image Credits: Photo by Isis França on Unsplash.

Last Updated On March 22, 2018

Related Articles

No results found

Leave a Reply

avatar
  Subscribe  
Notify of
Menu
Copy link