Welcome Guest, Not a member yet? Register   Sign In
hwo to set URI router Case-insensitive ?
#1

[eluser]RING[/eluser]
i set router in /app.../config/routes.php

Code:
$route['member(.*)'] = "member$1";
$route['(.*)'] = "home/$1";

the URL :
http://domain.com/member -->> class: Member , method:index()
http://domain.com/someword -->> class: Home , methodConfusedomeword()

but the URL like this :
http://domain.com/Member -->> class: Home , method:member()
http://domain.com/mEmber -->> class: Home , method:member()
in fact i want to access the class "Member",


hwo to set URI router Case-insensitive ?


another question:
how can i use some route setting, and i do NOT want it go into effect in any else CLASS ?


Messages In This Thread
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 04:29 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 04:40 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 04:43 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 04:46 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 04:51 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 05:05 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 05:08 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 05:16 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 05:22 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 05:41 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 05:48 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 06:39 AM
hwo to set URI router Case-insensitive ? - by El Forum - 03-10-2009, 07:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB