CodeIgniter Forums
URI for Community: www.mycommunity.net/membername - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: URI for Community: www.mycommunity.net/membername (/showthread.php?tid=22336)

Pages: 1 2


URI for Community: www.mycommunity.net/membername - El Forum - 09-07-2009

[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?