Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] URI segments converting period to underscore.
#1

[eluser]Sarfaraz Momin[/eluser]
Solution : I am hosted on dreamhost so there were some smaller issues which were creating issues. Firstly I had this in my config file

Code:
$config['index_page'] = "";
now I have put index.php there.

Also I changed one more thing that is

Code:
$config['uri_protocol']    = "REQUEST_URI";

This took care of the issue. Posted so incase if someone has the same issue can be resolved by this.
********************************************************************************************

I have been working on something for now since I do not have much work to work on. I have been testing a few things and found a small bug or what I do not know but this is what I have. I have a URI which looks something like this.

Code:
http://www.domain.com/useraccounts/tech.listing/

now the issue is that when I use something like this in the controller the results are not good or expected.

Code:
$username = $this->uri->segment(2);

the result is tech_listing and not tech.listing which is what is expected.

Can someone tell me if this is a bug or some sort of functionality. It seems like a bug but I still am not aware of it.

-Sarfaraz




Theme © iAndrew 2016 - Forum software by © MyBB