Parent Directory | Revision Log | Patch
revision 1.3 by dpavlin, Tue Jan 30 16:40:47 2001 UTC | revision 1.4 by dpavlin, Tue Jan 22 14:53:55 2002 UTC | |
---|---|---|
# | Line 19 function auth_pop3($user) { | Line 19 function auth_pop3($user) { |
19 | $email = explode("@",$user[3]); | $email = explode("@",$user[3]); |
20 | $pop3 = new POP3(); | $pop3 = new POP3(); |
21 | $pop3->connect($email[1]); | $pop3->connect($email[1]); |
22 | if ($pop3->checklogin($email[0],$GLOBALS[PHP_AUTH_PW])) { | if ($pop3->checklogin($email[0],stripslashes($GLOBALS[PHP_AUTH_PW]))) { |
23 | $pop3->quit(); | $pop3->quit(); |
24 | return true; | return true; |
25 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |