Menu

#9 eregi depricated in PHP 5.3

open
nobody
None
5
2011-04-19
2011-04-19
No

I changed each occurance of eregi to preg_match, but then had to add forward-slash after the initial quote of the reg expression and /i just before the ending quote.
Files affected:
chngpasswd.php, groupcreate.php, groupedit.php, officecreate.php, officeedit.php, statuscreate.php, statusedit.php, sysedit.php, timeadd.php, timedelete.php, timeedit.php, usercreate.php, useredit.php and usersearch.php in the admin directory
audit.php, timerpt.php, total_hours.php in the reports directory.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.