Problems with a point in the uri |
[eluser]Unknown[/eluser]
Hi @ all I have a (beginner)problem with a point in the uri: my uri: Code: http://www.mydomain.ch/ort/st.gallen when I get the uri with the following code, the result is not that one that I need. The point was replaced by an underscore?? Code: print $this->uri->segment(2); what I have to do? Regards Siii
[eluser]Dam1an[/eluser]
This sort of thing comes up about once a week, I can't remember the exact thread, but if I remember correctly, its something to do with ancient PHP4 which convert non alphanumeric characters to underscores
[eluser]SpooF[/eluser]
Easiest way to fix this would to do a string replace. Only problem with doing that is if you have intentional underscores in your url.
[eluser]Unknown[/eluser]
Thank you Dam1an! Now I found the thread. http://ellislab.com/forums/viewthread/114218/ I solve this problem with the configuration Code: $config['uri_protocol'] = "REQUEST_URI"; |
Welcome Guest, Not a member yet? Register Sign In |