![]() |
|
Thread Tools |
#1
|
||||
|
||||
Function eregi() is deprecated help
Hi guys,
I'm just testing out php5.6 on my site and my error logs are filling with "Function eregi() is deprecated" messages that relate to this GARS plugin, from what I've been reading the eregi needs to be replaced with a preg_match, but I just can't get it right.
I'm sure it will be a simple fix for one of you guys. Thanks No members have liked this post.
|
#2
|
||||||||
|
||||||||
Try:
edit: It would be more efficient to use the stripos() function:
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons The following members like this post: Lynne
|
#3
|
||||
|
||||
Thanks, that seems to have done the trick
![]() No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 15:36.