PHP dprecated message when running validate.php

Project:RUcore dlr/EDIT
Version:6.1
Component:Code
Category:bug report
Priority:critical
Assigned:chadmills
Status:closed
Description

[01-Dec-2011 09:09:52] PHP Deprecated: Function ereg_replace() is deprecated in /mellon/htdocs/dlr/EDIT/xpath/validate.php on line 5
[01-Dec-2011 09:09:52] PHP Deprecated: Function ereg() is deprecated in /mellon/htdocs/dlr/EDIT/xpath/validate.php on line 7

Comments

#1

Priority:normal» critical

#2

Status:active» fixed

Fixed by replacing the ereg_replace() with an explode() and replacing the ereg() with a substr() call.

#3

Assigned to:triggs» chadmills

#4

Status:fixed» closed

Confirmed.

Back to top