Welcome Guest, Not a member yet? Register   Sign In
Executing code before the controller?
#3

[eluser]JasonS[/eluser]
Could you elaborate. What I would like to do is have a 'secure' controller/function list.

The plan is to have several arrays of what users can and cannot access based on their access level. Each array will contain a controller:function pairing. I will then redirect users or allow them to proceed based on their access rights.


Could you elaborate on what you have posted to help me determine what the controller/function is that the user requesting.

Also, how would I change the controller function to redirect them? Is there a built in method to do this or should I use the header() function?


Messages In This Thread
Executing code before the controller? - by El Forum - 04-03-2008, 04:45 AM
Executing code before the controller? - by El Forum - 04-03-2008, 06:25 AM
Executing code before the controller? - by El Forum - 04-07-2008, 07:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB