Part of the EllisLab Network
   
3 of 3
3
IMPLEMENTED: get() method from input class, better routing without mod_rewrite, bug fix for CI_Input methods
Posted: 04 February 2009 07:03 PM   [ Ignore ]   [ # 31 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  287
Joined  01-25-2008
marcoss - 25 July 2008 02:08 PM

As Oliver mentioned, setting the uri_protocol to “PATH_INFO” will do, but you can also have it working without any hacks or extension by enabling query strings in config.php.

$config['enable_query_strings'] = TRUE;
$config['uri_protocol']         = "PATH_INFO";

Seriously, this tip should be stickied somewhere, it’s the fifth time I’ve post it.

Hey Marcoss.
Can your post your .htaccess? For some reason, your solution works on my laptop (apache 2.2.6) but not on my host (2.2.11)...

 Signature 

http://PawshPal.com/ - Pets Rule

Profile
 
 
Posted: 19 August 2009 05:54 PM   [ Ignore ]   [ # 32 ]  
Summer Student
Total Posts:  4
Joined  08-13-2008

Hmz I have a problem when i have an url with array in it: /products/c/0.html?color[]=#980000’&srch;= andit can’t check color[] array values and i can’t figure out how to clean them…

Profile
 
 
   
3 of 3
3
 
‹‹ Customizing Helpers      paypal paymant ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120588 Total Logged-in Users: 47
Total Topics: 126625 Total Anonymous Users: 2
Total Replies: 665662 Total Guests: 413
Total Posts: 792287    
Members ( View Memberlist )