Hi guys, Im getting this error when using php 5.3:
Code:
Deprecated: Function ereg_replace() is deprecated in etc.........
When I remove the following section of code from my file the error goes away. I know "ereg_replace()" is deprecated as of php version 5.3, but the confusing part is im not using "ereg_replace()" anywhere. As you can see from the code below its not being used. Any ideas what could be wrong ?
You are not using it in there. But the error might say which line you are having it. Can you please post the whole error message including the line number. Or mark which line is causing it ?
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
That error means line 1 of code which is being executed using eval. The (2) after xxxx.php means line two of that file. Is there more code you're not showing us? I can't see anything in the code in the first post that should cause that error.