Linked Questions

Popular Questions

PHP function to get the subdomain of a URL

Asked by At

Is there a function in PHP to get the name of the subdomain?

In the following example I would like to get the "en" part of the URL:

en.example.com

Related Questions