Posted by ctclibby on 08/18/06 23:25
mark babli wrote:
> php file, why is it that $_SERVER['HOST'] returns only the domain? I looked
$_SERVER['HTTP_HOST'] would show you the alias, domain and top-level
domain ->
www is an alias to a computer or computers
domain is a ... domain
top-level domain is/are .com .net .edu .cc .us .... etc ... etc
print_r($Server) works, but phpinfo(32) is easier to read IMO
todh
[Back to original message]
|