I am trying to convert an ip address to a computer name.  Then I am putting
it into the mail() script.  However, when I do this it come up blank.  I am
putting $r_hostname in the mail() script.  Can anyone tell me why its not
working?  The script I am using is:
<?
$r_hostname = gethostbyaddr($REMOTE_ADDR);
if ($REMOTE_ADDR == "$r_hostname");
echo "$r_hostname";
?>

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to