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?




Theme © iAndrew 2016 - Forum software by © MyBB