News:

Go to HostNed.com
Welcome.  This is a place to get user-to-user support, learn more, and share ideas.  If you can't find your answers here, feel free to ask by creating a new topic or visit the support ticket system at https://my.hostned.com :)  Have fun here!

Main Menu

Function ereg() is deprecated in /home/domain/public_html/file.php

Started by Dynaweb, October 18, 2011, 06:02:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dynaweb

Since the upgrade to PHP version 5.3.8, many sites are reporting error messages similar to this one...

Function ereg() is deprecated in /home/domain/public_html/file.php

This can be easily fixed by editing the PHP code in the file.

Find "ereg" and replace with "preg"

That should suppress the annoying error message.