Welcome Guest, Not a member yet? Register   Sign In
Url Problems
#1

[eluser]Unknown[/eluser]
Hello,

I am trying to use codeigniter for a api. But it translating dots and spaces into underscorces in the url Example

/comments/testing+form+through+api/customer_id/4/email/[email protected]/

In the database:
Comments: testing_form_through_api
Email: simon@about-australia_com

How do I fix this?

Thank you in advance,

Simon
#2

[eluser]rdjs[/eluser]
do you have Enable Query Strings set to true in the config?

$config['enable_query_strings'] = TRUE;
#3

[eluser]Unknown[/eluser]
Thanks rdjs, I have changed the config to use query strings and it now works




Theme © iAndrew 2016 - Forum software by © MyBB