Using gethostbyaddr() to get a host nameif ( isset( $REMOTE_HOST ) ) print "Visitor at $REMOTE_HOST";elseif ( isset ( $REMOTE_ADDR ) ) print "Visitor at ".gethostbyaddr( $REMOTE_ADDR )."";else print "wherever you are"; ?>