--- index.php 2001/01/05 13:31:04 1.7 +++ index.php 2001/02/12 07:13:26 1.8 @@ -49,12 +49,11 @@ )); } } else { // try to verify user via pop3 - include("class.POP3.php3"); + include("auth_pop3.php"); $pop3 = new POP3(); if($pop3->connect("intranet.pliva.hr")) { - $Count = $pop3->login($PHP_AUTH_USER,$PHP_AUTH_PW); - if ( $Count && $Count != -1 ) { + if ($pop3->checklogin($PHP_AUTH_USER,$PHP_AUTH_PW)) { $pop3->quit(); // o.k., user exists now insert it in db! include("finger.inc");