Welcome Guest, Not a member yet? Register   Sign In
URI problem while using CI
#1

[eluser]Kunjesh[/eluser]
Hi All,

My name is kunjesh sukhadia. I am using CI to develop web application in php. But i am facing URI problem, that i mention below.

When i am writing code like this
Code:
www.abc.com/user

CI will find user controller in application/controller folder, this is write.

But i am writing code like this
Code:
www.abc.com/user/

This will also find controller in application/controller folder, but i want that CI have to find "user" folder rather than controller.

Is there any setting that i forgot to do. Please help me out.



Thanks & Rigards,
Kunjesh Sukhadia.
#2

[eluser]saidai jagan[/eluser]
Seems Odd
#3

[eluser]Zeeshan Rasool[/eluser]
You can use it. Did you give default controller in routes ? if you are using only folder name then you have to define default controller. Other wise, use foldername/controllername
#4

[eluser]Kunjesh[/eluser]
@zEsHaN

You mean to say that if i want to access folder than i have to write like this?

Code:
www.abc.com/FolderName/ControllerName
#5

[eluser]Zeeshan Rasool[/eluser]
[quote author="Kunjesh" date="1257789162"]@zEsHaN

You mean to say that if i want to access folder than i have to write like this?

Code:
www.abc.com/FolderName/ControllerName
[/quote]

Yes , it is.
#6

[eluser]Kunjesh[/eluser]
Thanks zEsHaN for help me to solve my problem, now i am getting what i have to do.




Theme © iAndrew 2016 - Forum software by © MyBB