Author Topic: Function ereg() is deprecated in /home/domain/public_html/file.php  (Read 296 times)

0 Members and 1 Guest are viewing this topic.

Dynaweb

  • Yep
  • Administrator
  • Full Member
  • *****
  • Posts: 205
  • Gender: Male
  • HostNed Admin
    • View Profile
    • HostNed.com
Since the upgrade to PHP version 5.3.8, many sites are reporting error messages similar to this one...

Code: [Select]
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.
« Last Edit: October 19, 2011, 11:26:54 AM by Dynaweb »