Welcome Guest, Not a member yet? Register   Sign In
Im just confused how to build this URL (easy question for you guys, I think)
#5

[eluser]pickupman[/eluser]
Don't you think it would be tough for some to guess that the URI might be different an remove a segment to access the page from the real URI. You know it's an option, but no one else would. It's also unlikely that anyone not in web development even pays attention to a url, let alone manipulate it.

With that being said, just make it a private method to make it inaccessible directly.
Code:
public function administration($func="admin")
{
if( $func == "user_management" )
{
  $this->_user_management(); // call the user management method in this controller
  return; // leave, done with user_management function
}
// put the default administation stuff here
}

private function _user_management()
{
// do you user management stuff here
}


Messages In This Thread
Im just confused how to build this URL (easy question for you guys, I think) - by El Forum - 07-27-2012, 06:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB