• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Route segment starting with ?

#1
[eluser]Dimitar[/eluser]
Hey guys,

I need help regarding following url:

Code:
http://www.domain.com/segment/?param=val&param=val&param=val

I'm not able to change the url, but need a way to route it to "any" controller and function. Tried with:

Code:
$route['segment/(:any)'] = '';

It does not work though. Any ideas?

#2
[eluser]Mangetsu[/eluser]
Hmm, idea behind routing is to know where you want to go.. my bet would be to create one landing controller and then parse params and decide where do you want to go next


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.