Welcome Guest, Not a member yet? Register   Sign In
regex help
#3

[eluser]dmiden[/eluser]
Code:
$route['user/(?:(?!register|login).)*'] = "user/view/$1";
note that the view controller will get the current URI segments.
If you want it to still use the old you can use $this->uri->rsegments(n);


Messages In This Thread
regex help - by El Forum - 10-26-2008, 10:44 AM
regex help - by El Forum - 10-26-2008, 03:58 PM
regex help - by El Forum - 10-26-2008, 04:37 PM
regex help - by El Forum - 10-26-2008, 06:24 PM
regex help - by El Forum - 10-26-2008, 06:32 PM
regex help - by El Forum - 10-26-2008, 06:45 PM
regex help - by El Forum - 10-26-2008, 06:52 PM
regex help - by El Forum - 10-26-2008, 06:53 PM
regex help - by El Forum - 10-26-2008, 06:54 PM
regex help - by El Forum - 10-26-2008, 07:37 PM
regex help - by El Forum - 10-26-2008, 08:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB