Welcome Guest, Not a member yet? Register   Sign In
Don't want users to use this
#1

[eluser]Unknown[/eluser]
Okay, so I am using codeigniter, and I want to know:

Code:
class Home extends Controller {

    function __construct()
    {
        parent::Controller();    
        $this->load->helper('form');
    }

    
    function index()
    {
        $this->load->view('home_view');
    
    }

    function login() {
    $this->load->view('login_view');
    }

I have that code, now, as you can see, I have a class named "Home"

If users type "home" in the url, they will see that page, is there anyway I can stop this from happening?

I don't want users to type /home,

Thanks guys!


(Oh wow, new here, and I think I posted in the wrong forum :red:, sorry about that)


Messages In This Thread
Don't want users to use this - by El Forum - 12-18-2009, 02:49 PM
Don't want users to use this - by El Forum - 12-18-2009, 03:14 PM
Don't want users to use this - by El Forum - 12-18-2009, 03:55 PM
Don't want users to use this - by El Forum - 12-18-2009, 03:57 PM
Don't want users to use this - by El Forum - 12-18-2009, 04:22 PM
Don't want users to use this - by El Forum - 12-18-2009, 06:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB