Interesting URL problem |
[eluser]jazzplayermark[/eluser]
I'm completely new to CI. I'm going through the user guide and trying to follow along to understand the structure and I'm having a problem when submitting a form. my url to the form is: www.tcfoodtaxi.com/form after I submit it, the generated url is: http://www.tcfoodtaxi.com/www.tcfoodtaxi...x.php/form From config.php $config['base_url'] = 'www.tcfoodtaxi.com/'; I am using .htaccess to eliminate the need to include 'index.php' in the url. thanks for any help. mark
[eluser]InsiteFX[/eluser]
Try this: Code: $config['base_url'] = 'http://www.tcfoodtaxi.com/'; Also your form open shoud be controller/function not the full path to your website. Code: echo form_open('email/send'); InsiteFX
|
Welcome Guest, Not a member yet? Register Sign In |