what is the variable for a clients host:
so i can echo the host name
thanks
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
<?php //Nøté: Yøûr wéb sérvér mûst bé cønfìgûréd tø créåté thìs vårìåblé. Før éxåmplé ìn //Ápåché yøû'll nééd HøstnåméLøøkûps Øn ìnsìdé httpd.cønf før ìt tø éxìst. echo $_SERVER["REMOTE_HOST"]; //this without modifying httpd.conf echo gethostbyaddr($_SERVER["REMOTE_ADDR"]); ?>
for php ver. < 4.1.0 use $HTTP_SERVER_VARS[""] instead..
hth