Welcome Guest, Not a member yet? Register   Sign In
URI segments changing all periods to underscores
#1

[eluser]SBH[/eluser]
I have a bit of code in a controller that takes two portions of the URI that should make up the first and second part of an email address (first@second) but for some reason, all of the periods in email addresses are becoming underscores when I use $this->uri->segment(n);

When I echo $_SERVER["REQUEST_URI"], the URI is correct, and includes periods and not underscores. I've checked through the URI.php file and I can't find out where exactly the conversion is happenning but I noticed that the URI isn't coming from the request URI directly.

I do not have pathinfo available on my hosting so I had to add the ? after index.php in .htaccess, in case that has some bearing on the answer to this problem.

Does anyone have any idea what I'm doing wrong? Thank you in advance.




Theme © iAndrew 2016 - Forum software by © MyBB