Zend Framework get domain name

  • SumoMe

There is an easy way to get domain name with Zend Framework – use following code in your view files.

echo $this->serverUrl();

Leave a Reply


*