Welcome Guest, Not a member yet? Register   Sign In
unable to call controller from URL
#1

[eluser]yaswanthbs[/eluser]
Code:
<?php

class User extends CI_Controller {

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

function userlogin() {
  echo 'user [size=1][/size]is logged in';
}

}
?>

This is my code and I am unable to call User controller. When I am accessing like this
http://localhost/learning/User

I am getting error as Not Found
The requested URL /learning/User was not found on this server.

Please help me..


Messages In This Thread
unable to call controller from URL - by El Forum - 09-27-2012, 11:13 AM
unable to call controller from URL - by El Forum - 09-27-2012, 11:22 AM
unable to call controller from URL - by El Forum - 09-27-2012, 07:00 PM
unable to call controller from URL - by El Forum - 09-30-2012, 08:35 PM
unable to call controller from URL - by El Forum - 10-02-2012, 09:49 PM
unable to call controller from URL - by El Forum - 10-03-2012, 10:19 AM
unable to call controller from URL - by El Forum - 10-03-2012, 10:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB