plugin: add_address php 8.3 eregi()
theurlm <[email protected]> Wed, 04 Mar 2026 22:39:24 +0100
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
wanna mention that if you use php 8.3 with the plugin: add_address-
1.0.3-1.4.0.tar.gz
(https://www.squirrelmail.org/plugin_view.php?id=269)
in file: add_address/functions.php (Line: 718) the function eregi() is
outdatet. I changed it with preg_match and it worked again.
<pre>
if (!preg_match('^' . $Email_RegExp_Match . '$', $email))
//if (!eregi('^' . $Email_RegExp_Match . '$', $email))
</pre>
many thanks for the great work.
cheers
Michael
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel