我是新的codeignitor框架工作。我得到404错误再次nagain.my登录页面工作正常。
` <div class="col-lg-4 col-lg-offset-4">
<h2>Forgot Password</h2>
<p>Please enter your email address and we'll send you instructions on how to reset your password</p>
<?php $fattr = array('class' => 'form-signin');
echo form_open(site_url().'ForgotPassword/forgot/', $fattr); ?>
<div class="form-group">
<?php echo form_input(array(
'name'=>'email',
'id'=> 'email',
'placeholder'=>'Email',
'class'=>'form-control',
'value'=> set_value('email'))); ?>
<?php echo form_error('email') ?>
</div>
<?php echo form_submit(array('value'=>'Submit', 'class'=>'btn btn-lg btn-primary btn-block')); ?>
<?php echo form_close(); ?>
</div>`
404 Page Not Found
The page you requested was not found. to be resolved
1条答案
按热度按时间des4xlb01#
表单操作具有无效的路由、控制器或函数名。
或者...
变化
网站网址();// http://example.com/website/index.php
到
基本网址();// http://example.com/website