eregi deprecated eroors

Status
Not open for further replies.

david77

New Member
Messages
1
Reaction score
0
Points
0
Hi - anyway to get rid of the warning for scripts not compatible w. Php 5.3? is there a way to use an older php?
I realize this is free, whatever quick advice you can offer would be appreciated. - thanks, David
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
3 choices:

1. Get an updated version of the script that does not use deprecated features.

2. Find the source of the errors and change the code buy using pregXXXX functions, etc

3. error_reporting(E_ALL & ~E_DEPRECATED); at the top of the entry to the script (often index.php). Just hides the warnings for now. But since they are just warnings, there should be no harm. If PHP ever removes eregi, etc, then you will have to revert to #1 or #2
 
Status
Not open for further replies.
Top