Welcome Guest, Not a member yet? Register   Sign In
URI for Community: www.mycommunity.net/membername
#11

[eluser]joytopia[/eluser]
Thanks for your help! It's a great community here :-) I looked again on the URLs and I mean, they seem to be OK.

All "somewheres" are routed first to their destination.
After that we only have a(valid or invalid) username in the first segment and perhaps a gift-code-number in the second segment.

If we only have one Segment, the routing points to the member_find-controller

If we have both, we go to the code_find-controller
There we make a database query WHERE username = $1 AND giftcode = $2

My first tests look well. Did I forget something?


Messages In This Thread
URI for Community: www.mycommunity.net/membername - by El Forum - 09-05-2009, 01:44 PM
URI for Community: www.mycommunity.net/membername - by El Forum - 09-05-2009, 04:52 PM
URI for Community: www.mycommunity.net/membername - by El Forum - 09-06-2009, 12:08 PM
URI for Community: www.mycommunity.net/membername - by El Forum - 09-07-2009, 01:01 AM
URI for Community: www.mycommunity.net/membername - by El Forum - 09-07-2009, 01:43 AM
URI for Community: www.mycommunity.net/membername - by El Forum - 09-07-2009, 05:45 AM
URI for Community: www.mycommunity.net/membername - by El Forum - 09-07-2009, 06:01 AM
URI for Community: www.mycommunity.net/membername - by El Forum - 09-07-2009, 06:06 AM
URI for Community: www.mycommunity.net/membername - by El Forum - 09-07-2009, 09:37 AM
URI for Community: www.mycommunity.net/membername - by El Forum - 09-07-2009, 04:56 PM
URI for Community: www.mycommunity.net/membername - by El Forum - 09-07-2009, 11:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB