double url's with form post |
Hello All,
i'm new to codeigniter and i ant some help regarding forms and form post.I have read the user guide about form builder but then i coded the form and the process php, and when i tested it i got a double url instead of the process php. what i mean is i get http://localhost/website1/index.php/http...me/process instead i want http://localhost/website1/index.php/welcome/process. the welcome controller file is like this: Code: public function index() and the form is like this: PHP Code: <?php Code: $route['default_controller'] = 'welcome';
When you added your base_url in app/Config.php did you put an ending / slash?
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Glad it worked for you.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |