Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] How to use URI Segments and Query Strings in the same project
#1

[eluser]fensen[/eluser]
CodeIgniter is SO powerful!

If you want to use URI Segments and Query Strings in the same project, go to
Code:
APP/config/config.php
and change:
Code:
$config['uri_protocol'] = "PATH_INFO";
$config['enable_query_strings'] = TRUE;

This will allow you to use URI Segments, URI Segments parameters and Query String parameters!
e.g.
Code:
/controller/method/param1/param2/?param3=xxx&param4=yyy

This has just saved my life!!!


Messages In This Thread
[SOLVED] How to use URI Segments and Query Strings in the same project - by El Forum - 12-11-2008, 09:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB