Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] My_Controller ?
#5

[eluser]solid9[/eluser]
Thanks dude I did not noticed that.

anyway here is the updated class,
Code:
class MY_Primary extends CI_Controller
{
  function __construct()
  {
   parent::__construct();

  }
  
  function index()
  {
   echo 'Primary';
  }
}

I also saved as MY_Primary.php

And I called it in the URL,
Code:
http://thefml.org.uk/secret/primary/

also like this,
Code:
http://thefml.org.uk/secret/primary/index/

and also like this,
Code:
http://thefml.org.uk/secret/index.php/primary/

But nothing happened.

It says,
Code:
404 Page Not Found

why?



Messages In This Thread
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 05:56 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 06:02 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 06:06 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 07:02 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 07:18 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 07:36 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 10:58 PM
[SOLVED] My_Controller ? - by El Forum - 09-15-2012, 11:55 AM
[SOLVED] My_Controller ? - by El Forum - 09-15-2012, 11:57 AM
[SOLVED] My_Controller ? - by El Forum - 09-15-2012, 12:03 PM
[SOLVED] My_Controller ? - by El Forum - 09-15-2012, 04:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB