function quoteimap($str) {
return ereg_replace('(["\\])', '\\\\1', $str);
}This function in strings.php is for what ? it only be used in imap_general.php
$query = 'LOGIN "' . quoteimap($username) . '" "' . quoteimap($password) . '"';
I find it somtimes my username has changed with \1 in front of each character, and then the courieri-imap reject login as wrong username. And SM logout with error "unknown user password incorrect"
I am not sure what is the purpose of this function quoteimap
But when I chnage this function to function quoteimap($str) {
return $st);
}
It works again.
What is this ? Why ? Thx !
_________________________________________________________________
Linguaphone : 學英語,免費學日語 http://go.msnserver.com/HK/30475.asp
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
