[eluser]maxez[/eluser]
I am new to CodeIgniter. I spent a day playing with both Cakephp and codeigniter, and decided for the former largely due to their validation flexibility. Now I am starting to unfortunately regret my decision!
The validation class have several flaws that are only found when you run your code on PHP 4. Unfortunately I spent all my time coding on my PHP5 environment, only to find all kinds of problems when I built the app on my client's server running PHP4.
The problem described above is just one of
many problems found when moving the code to PHP4. I wish the code base would be fully tested on both PHP4 and PHP5 before claiming compatibility with both versions. Unfortunately, I cannot use that "hack" since I have TWO call back functions that are having the same problem. In addition, it is a horrible hack
(I mean, my kudos to you for coming up with a solution, but it is still ugly
).
I am at a loss on how to fix this short of having to get my hands dirty and try to "hack" the validation class myself (which will take a LONG time since I am not familiar with the inner workings of codeigniter).
Any help will be greatly appreciated!
Thanks,
Max