$read = fgets($imap_stream, 9096);
- if (ereg("^\* [0-9]+ FETCH.*{([0-9]+)}", $read, $regs)) {
+ if (ereg("^\\* [0-9]+ FETCH.*\\{([0-9]+)\\}", $read, $regs)) {
$size = $regs[1];
} else {
$size = 0;
global $color, $squirrelmail_language, $HTTP_ACCEPT_LANGUAGE, $onetimepad;
$imap_stream = fsockopen ($imap_server_address, $imap_port,
- &$error_number, &$error_string, 15);
+ $error_number, $error_string, 15);
$server_info = fgets ($imap_stream, 1024);
// Decrypt the password