Search code examples
phpcodeigniter

CodeIgniter URL segment not read as a property


I have a project where the client needs a property to be added to the URL address (which is dynamically generated) but it should be invisible to CI. I don't want it to be added as a parameter in the methods and eventually worked with. Is there a way to achieve this?


Solution

  • Maybe add $_GET parameters to your url. http://mywebiste.com/controller/method?paramter1=32234&parameter2=35734.

    Then retrieve them with $this->input->get();.