Welcome Guest, Not a member yet? Register   Sign In
I am sick of bad CodeIgniter's URL errors handling. I am going to Laravel
#11

[eluser]boltsabre[/eluser]
Ummm... even if you could do what you wanted it to, what happens when someone changes the url from
Code:
domain/controller/234 //get an article with id 234
to
Code:
domain/controller/2344444 //user changed it, and this article doesn't exist...
You still have to do validation in your model to see if something was returned from the DB...
So... you have to do your own validation anyway! Regardless...


Messages In This Thread
I am sick of bad CodeIgniter's URL errors handling. I am going to Laravel - by El Forum - 11-07-2012, 07:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB