if you want to know how to get the current domain name from your website in php you can do it with the

echo $_SERVER['HTTP_HOST']


this will display the domain name and the hostname like this:

www.wallpaperama.com

if this helps, please tell me your comments. i thank you for any comments. i like to know if this is not what you are looking for. how can i help you?