cotroller adressing problems |
[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!
[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. |
Welcome Guest, Not a member yet? Register Sign In |