Welcome Guest, Not a member yet? Register   Sign In
URI /
#1

[eluser]MMCCQQ[/eluser]
hi!

how can i do this?
URL http:/domain.com/username
/main/ index/ username
Class Controller URI Segment
So.

http://domain.com/username/add_article

main/add_article
Class / Controller

i got this

$route['(:any)'] = "main/index/$1";
$route['(:any)/(:any)'] = 'main/$2' ;

its the best solution??


Messages In This Thread
URI / - by El Forum - 03-06-2008, 08:32 PM
URI / - by El Forum - 03-07-2008, 01:00 AM
URI / - by El Forum - 03-07-2008, 07:43 AM
URI / - by El Forum - 03-07-2008, 07:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB