Hello!
I have installed kolab2 mailserver on openSUSE 11.2. + Horde web mail client (works on php5.3).
It seems that everything works, but there is one small problem:
Every time I sent an e-mail I get an error in the /var/log/kolab/filter.log file
Dec 08 15:38:03 Kolab Filter (pid=12846) [error] [horde] PHP Error: Function eregi() is deprecated; Code: 0 [on line 146 of "/usr/share/php5/PEAR/Horde/Kolab/Filter/Response.php"]
Can anyone help me with this error? I also attached Response.php
Many thanks!
Hrkama.
Function eregi() is deprecated error using php 5.3
Moderator: General Moderators
Function eregi() is deprecated error using php 5.3
- Attachments
-
- Response.7z
- Response.php
- (2.11 KiB) Downloaded 1 time
Re: Function eregi() is deprecated error using php 5.3
You should start using the PCRE functions, such as preg_match, instead of the ereg functions because they will be removed in future versions of PHP.
1) It's more convenient for us if you post the code inline and not attached.
2) Only post the relevant sections.
1) It's more convenient for us if you post the code inline and not attached.
2) Only post the relevant sections.