Welcome Guest, Not a member yet? Register   Sign In
Mixing query and segment based URL types
#6

[eluser]bretticus[/eluser]
[quote author="Colin Williams" date="1264584617"]All I do is set enable_query_strings to TRUE and uri_protocol to PATH_INFO and I'm off to the races[/quote]

Okay, fair enough. I haven't had a need to implement mixing them before but how do you handle URLs:

Quote:If you change "enable_query_strings" to TRUE this feature will become active. Your controllers and functions will then be accessible using the "trigger" words you've set to invoke your controllers and methods:
index.php?c=controller&m=method

Please note: If you are using query strings you will have to build your own URLs, rather than utilizing the URL helpers (and other helpers that generate URLs, like some of the form helpers) as these are designed to work with segment based URLs.

I guess I can live without anchor, etc. but the last time I tried this (about a year ago) it seemed like segmented URLs no longer worked. If they do work for most everyone else, pardon my ignorance (although, I still might miss those URL functions.) Smile


Messages In This Thread
Mixing query and segment based URL types - by El Forum - 01-26-2010, 03:46 PM
Mixing query and segment based URL types - by El Forum - 01-26-2010, 05:12 PM
Mixing query and segment based URL types - by El Forum - 01-26-2010, 08:35 PM
Mixing query and segment based URL types - by El Forum - 01-26-2010, 09:22 PM
Mixing query and segment based URL types - by El Forum - 01-26-2010, 09:30 PM
Mixing query and segment based URL types - by El Forum - 01-26-2010, 09:36 PM
Mixing query and segment based URL types - by El Forum - 01-26-2010, 10:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB