• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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