Problems with URL-s |
[eluser]staar2[/eluser]
I use this http://ellislab.com/codeigniter/user-gui...ation.html validation example and when i click the submit button then it goes to this URL http://localhost/index.php/index.php/form. Wrong something with php settings ?
[eluser]tonanbarbarian[/eluser]
I would suggest the problem is use the action of the form tag in your view post your view and controller files and i am sure someone will be able to point you in the right direction
[eluser]staar2[/eluser]
Code is same which is in this page http://ellislab.com/codeigniter/user-gui...ation.html Form tag <form action="index.php/form" method="post">
[eluser]tonanbarbarian[/eluser]
just use Code: <form action="/form" method="post"> Code: <form action="<?php echo site_url('form'); ?>" method="post">
[eluser]staar2[/eluser]
[quote author="tonanbarbarian" date="1197342173"]just use Code: <form action="/form" method="post"> Code: <form action="<?php echo site_url('form'); ?>" method="post"> Huh im really stuck with this. Ok here are my results: 1. Used /form went to address http://localhost/form 2. Used <form action="<?php echo site_url('form'); ?>" method="post"> get http://localhost/index.php/index.php/form I don't no what's wrong with URLS. :roll:
[eluser]tonanbarbarian[/eluser]
Your config options must be wrong my guess would be you have something like the following application/config/config.php Code: $config['base_url'] = "http://localhost/index.php"; when it should be Code: $config['base_url'] = "http://localhost/";
|
Welcome Guest, Not a member yet? Register Sign In |