0
I have a domain, www.dominio.com and www.dominio.com.br, the content is the same as the difference in the configuration file with the messages that will be loaded.
What is the best technique to discover the location the user is accessing? so I can set via PHP which configuration file to load.