Welcome Guest, Not a member yet? Register   Sign In
Problems with Callback Functions and Validation Class
#10

[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 Smile (I mean, my kudos to you for coming up with a solution, but it is still ugly Smile ).

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


Messages In This Thread
Problems with Callback Functions and Validation Class - by El Forum - 03-16-2008, 04:18 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-16-2008, 08:22 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-16-2008, 09:57 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-16-2008, 10:16 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-17-2008, 12:00 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-17-2008, 01:31 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-17-2008, 01:34 PM
Problems with Callback Functions and Validation Class - by El Forum - 03-18-2008, 04:46 AM
Problems with Callback Functions and Validation Class - by El Forum - 03-18-2008, 03:50 PM
Problems with Callback Functions and Validation Class - by El Forum - 04-14-2008, 03:40 PM
Problems with Callback Functions and Validation Class - by El Forum - 04-14-2008, 07:39 PM
Problems with Callback Functions and Validation Class - by El Forum - 06-16-2008, 09:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB