Welcome Guest, Not a member yet? Register   Sign In
Best way to handle missing url parameters
#1

[eluser]jplanet[/eluser]
I found a hack to the CI core that someone posted for handling required parameters, but of course I would like to make sure that the client can keep CI updated in the future. What is the cleanest way to 404 if a user messes with the url and removes required parameters? naturally, I would like to find something cleaner than configuring routes for each and every possible combination and/or writing code in every single function in all controllers...


Messages In This Thread
Best way to handle missing url parameters - by El Forum - 05-25-2010, 12:10 AM
Best way to handle missing url parameters - by El Forum - 05-25-2010, 07:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB