I am a beginner in codeigniter framework. In codeigniter v.3 I create a form <?php echo form_open("login/registration"); ?>
<?php echo form_open("login/registration"); ?>
Current URL is " http://padpors/login "; but when I submit form, form has posted to " http://padpors/padpors/index.php/login/registration "
go to application/config/config.php
here you will find $config['base_url'];
edit the line to:
$config['base_url'] = 'http://padpors/';
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.