我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

找不到codeigniter控制器.php

I am using the CI default .htaccess and the CI dynamic base_url().

My issue is that I have the deploy.php in the controllers folder but when I try and access via www.domain.com/deploy.php I get 404 not found why?

Codeigniter controllers are accessed like that www.domain.com/deploy(by class name in lower case, file name must match classname inside in lower case and class must extend CI_Controller)

The file you mention is nothing like that, so it is better to be called from the folder where index.php resides.

近期文章

  • CodeIgniter分页。 总行数
  • Yii禁止通过网址访问网页
  • Google App Engine GAE Php发送附件
  • 如何在mySQL中将当前日期设置为默认日期
  • SQLSRV Null值将被Aggregate或Set删除
  • PHP createimagefromjpeg()如何包含所有图像类型
  • 使用PHP在AWS EC2实例上运行Apache2网站
  • robots.txt只能阻止目录中的一种文件吗?
  • 我正在尝试使用cakephp中的帮助程序生成Excel
  • MySQL试图以不同的用户身份运行存储过程
  • 用户注册字母数字问题
  • 使用这种特殊格式来创建JQ Grid的Json
  • postgresql和php为什么无法连接
  • Laravel:如何更新“hasMany”相关模型?
  • Yii - 如何根据浏览器注册脚本?
  • YII中的父静态声明问题
  • 活动记录不是唯一的表格问题
  • 推送通知无法在设备上运行
  • sql查询只读取ID的第一个数字
  • 谷歌街景视图因标记过多而被打破

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华