Welcome Guest, Not a member yet? Register   Sign In
Nice looking Query Strings?
#1

[eluser]jabberjab[/eluser]
Hi there.

I've enabled Query Strings and I'm trying to figure out how to take input this way;

Quote:www.someurl.com/user/add?title=A Title&url=http://www.someurl.com

I am using .htaccess to get rid of index.php, but I've tried and found that I can accomplish sending a query string in this manner:
Quote:www.someurl.com/index.php?c=user&m=add&title=A title&url=http://www.someurl.com

but I'd really like to use the nice URL made by the first example Smile
Any idea on how to accomplish this?

I was guessing it's possible to achieve this with routing, and I tried

$route['user/add?:any'] = ... but I am guessing either the route is wrong or I just don't know how to point it to the index with a trailing query string


Messages In This Thread
Nice looking Query Strings? - by El Forum - 04-20-2009, 06:26 AM
Nice looking Query Strings? - by El Forum - 04-20-2009, 06:36 AM
Nice looking Query Strings? - by El Forum - 04-20-2009, 02:25 PM
Nice looking Query Strings? - by El Forum - 04-21-2009, 12:29 AM
Nice looking Query Strings? - by El Forum - 04-21-2009, 03:19 AM
Nice looking Query Strings? - by El Forum - 04-21-2009, 03:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB