• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cotroller adressing problems


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


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

what is wrong ?

Thank you!

What version of CI you talked above?

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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.