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

Use the code below to obtain the server name

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

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

More Similar Posts

No results found.

Menu