"; if (chop($l[$i1]) == chop($host)) { return 1; }; }; return 0; } function get_email($host) { $l = file("email.txt"); for ($i1 = 0; $i1 < count($l); $i1++) { list($hst, $email) = split(";", $l[$i1] ); if (chop($hst) == chop($host)) { return chop($email); }; }; return(''); } function my_addr($mode) { $l = file("myhost.txt"); list($hst, $mailserv) = split(";", $l[0] ); if ($mode==0) { return chop($hst); } if ($mode==1) { return chop($mailserv); } return(''); } function get_hostname($host) { $l = file("hosts.txt"); for ($i1 = 0; $i1 < count($l); $i1++) { list($hst, $email, $unicode) = split(";", $l[$i1] ); if (chop($hst) == chop($host)) { return chop($email); }; }; return(''); } function get_unicode($host) { $l = file("hosts.txt"); for ($i1 = 0; $i1 < count($l); $i1++) { list($hst, $email, $unicode) = split(";", $l[$i1] ); if (chop($hst) == chop($host)) { return chop($unicode); }; }; return(''); } ?>