Re: plugin: add_address php 8.3 eregi()
"Paul Lesniewski" <[email protected]> Wed, 4 Mar 2026 23:10:26 -0000
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, March 4, 2026 9:39 pm, theurlm wrote:
> 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.
Hello, thanks for contributing! There are newer versions of many plugins
(including Add Address) available with fixes like this that have yet to be
released. Anyone is free to ping me if they are curious about getting the
most up-to-date code for a particular plugin.
Cheers,
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
-----
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