Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newsletter_bulk - EREGI - PHP 5.3 incompatible!


dix4life

Recommended Posts

Hello,

 

I have the contribution newsletter_bulk installed (Advanced bulk mailer). Now the following problem has ocured when installing PHP 5.3 on the server. The ereg function has to be changed to i think preg_match.

 

Line 38:

if (eregi('^[-a-z0-9._]+@([-a-z0-9_]+\.)+[a-z]{2,6}$',$row['customers_email_address'])) {

 

Can someone please change this to the right PHP 5.3 compatible line?

 

Thanks in advanced!

 

Best regards,

 

Martin

Link to comment
Share on other sites

Thank you very much! I'm not that good with PHP. I've manage to get the most deprecated code change by a lot of searching, google, updating contributions. But this one i couldn't find so i thought i post it on the forum so maybe someone can change the code for me. It's only one line. Thanks again.

 

Best regards,

 

Martin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...