Re: [SM-USERS] SM-USERS] Failed Login issue

2009-07-15 Thread Paul Lesniewski
Please do not top post. I wanted to know with part of squirrelmail will check for user and password.If its correct then it goes to redirect.php.If incorrect which part of the code will be executed. src/redirect.php itself checks the username and password -- it does so by using the credentials

[SM-USERS] SM-USERS] Failed Login issue

2009-07-10 Thread Binny Mandvia
Hi, I got failed logging fix with logger command Following is the code for the same. $username = $_POST['login_username']; $ip = getenv('REMOTE_ADDR'); $output = shell_exec('logger -p mail.error Login Failed for user ' .$username. ' from IP Address ' .$ip. ' [Password Incorrect]'); echo