[eluser]rogierb[/eluser]
What if you installed in a subdomain or in a seperate folder?
What if HTTP_HOST is empty?
HTTP_HOST will give you the host, but only the host.
base_url() accounts for installation in subdomains or folders under the root.
Then again I use it in my base_url :-)