eregi depricated in PHP 5.3
Brought to you by:
bluenotemkvi
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.