Welcome Guest, Not a member yet? Register   Sign In
Form Validation And URL Validation
#1

[eluser]ralfo[/eluser]
Hi all,

I'm really liking codeigniter, love the simplicity and rapid development aspects.

Now, I want to use the form validation class to validate ALL data coming into my application.

This is fine when the data coming in is from a form (of course lol).

However, I want to use it to validate the URL segments too.

Can this be done?

Would be really neat and tidy if it could, otherwise I will be using the form validation class to validate form data, but my own custom classes/functions to validate URL segments (eg domain.com/order/book/345 - test that 345 is within the specified bounds using the form validation class that already exists).

Please advise Smile


Messages In This Thread
Form Validation And URL Validation - by El Forum - 08-23-2009, 05:11 AM
Form Validation And URL Validation - by El Forum - 08-23-2009, 08:38 AM
Form Validation And URL Validation - by El Forum - 08-24-2009, 02:01 AM
Form Validation And URL Validation - by El Forum - 08-24-2009, 08:37 AM
Form Validation And URL Validation - by El Forum - 08-24-2009, 09:14 AM
Form Validation And URL Validation - by El Forum - 08-24-2009, 10:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB