droos02800 2012-02-08 08:26
浏览 5

在form_open中拒绝访问

<?=form_open('pages/reset')>
</form>

I have a function reset in the main class that is to load the reset_view.php file

<?php
class Pages extends CI_Controler
{
   .....
   public function reset()
   {
      $this->load->view("pages/reset_view");
   }
}
?>

reset_view.php is stored inside application/views/pages Could someone tell me what is going on, why I get an error at form_open line ? Thank you.

I have got an error page

Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.

Error 403

  • 写回答

1条回答 默认 最新

  • douxie5930 2012-02-08 08:32
    关注

    you might have forgotten to include form helper. check in controller file make sure you have loaded form helper.

    this is one possible problem I can find out. hope it will work for you

    评论

报告相同问题?

悬赏问题

  • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
  • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题