All pastes #898169 Raw Edit

Miscellany

public php v1 · immutable
·published 2008-02-10 03:30 UTC
rendered paste body
	if ($rezultat != NULL) {		$user_ip1 = $rezultat[1];		$user_ip2 = $rezultat[2];		$user_ip3 = $rezultat[3];		$user_host1 = gethostbyaddr($user_host1);				if (!empty $user_ip2) {			$user_host2 = gethostbyaddr($user_host2);		} else $user_host2 = NULL;		if (!empty $user_ip3) {			$user_host3 = gethostbyaddr($user_host3);		} else $user_host3 = NULL;		$wyjscie = "User: " . $rezultat[0] . " IPs: " . $user_ip1 . "(" . $user_host1 . "), " . $user_ip2 . "(" . $user_host2 . "), " . $user_ip3 . "(" . $user_host3 . ")";	} else $wyjscie = "User not found.";