Welcome Guest, Not a member yet? Register   Sign In
cotroller adressing problems
#1

[eluser]Unknown[/eluser]
Hi,

im experiencing some problems with controller/function adressing from a view

lets say, we have www.project.com/html/ as base_url

then we have a default controller which loads view from which through form we submit some data back to that default controllers function

form_open('default/function');

we should get link like www.project.com/html/default/function
bet
we constantly get www.project.com/html/www.project.com/html/default/function

what is wrong ?

Thank you!
#2

[eluser]toopay[/eluser]
What version of CI you talked above?
#3

[eluser]danmontgomery[/eluser]
base_url needs to have http:// in front of it. This is the same behavior as trying to create an HTML anchor without http://, it's seen as a relative path.




Theme © iAndrew 2016 - Forum software by © MyBB