發表文章

目前顯示的是有「Codeigniter」標籤的文章

CodeIgniter htaccess參考配置_如何使用.htaccess 將http轉向https ?

 如何開啟顯示FTP隱藏檔?(.htaccess) https://sofree.cc/ftp-htaccess/ CodeIgniter htaccess https://www.farinspace.com/codeigniter-htaccess-file/ [CodeIgniter] 隱藏網址中的index.php https://ithelp.ithome.com.tw/articles/10257762 Default File htaccess CodeIgniter https://www.rumahweb.com/journal/htaccess-codeigniter/ [Apache] .htaccess 失效 https://caloskao.org/apache-htaccess-%E5%A4%B1%E6%95%88/ apache The requested URL / was not found on this server. http://star.im.chu.edu.tw/bbs/viewtopic.php?t=53 Redirect HTTP to HTTPS with Apache https://www.ssl.com/how-to/redirect-http-to-https-with-apache/ The Requested URL was Not Found on This Server Apache/2.4.41 in Ubuntu 22.04 https://www.nicesnippets.com/blog/the-requested-url-was-not-found-on-this-server-apache2441-in-ubuntu-2204?expand_article=1 [SOLVED]The htacess https rewrite rules for whole site to be non www and ssl only https://processwire.com/talk/topic/15199-solvedthe-htacess-https-rewrite-rules-for-whole-site-to-be-non-www-and-ssl-only/ Best Prac...

CI3.0开始支持translate_uri_dashes

  http://blog.smallerpig.com/665.html

Codeigniter redirect doubles URL

  https://stackoverflow.com/questions/22316745/codeigniter-redirect-doubles-url https://www.technhit.in/category/codeigniter/ http://webnas.bhes.ntpc.edu.tw/wordpress/archives/7933

Codeigniter3_程式進入點_控制器與View_Day02

圖片
  Codeigniter專案中預設程式進入點 也就是默認路由主要是在 ~/application/config/config.php 當中的 $config['base_url'] 主要是用於設定預設跳轉至哪個網站根URL ~/application/config/routes.php 當中則是可去指定$route['default_controller'] 預設要指向至哪個控制器 默認官網載下來範例給的是welcome 在welcome控制器中 所在程式路徑 ~/application/controllers/Welcome.php 裡面實作的是一個function 名稱index() 在進行load->view() 指定一個前端UI檢視名稱為welcome_message 的檔案 所在位置 ~\application\views\welcome_message.php Ref: https://www.wdb24.com/how-to-install-codeigniter-xampp/ https://www.learncode01.com/codeignitor-example/ https://sites.google.com/site/ageechen/work_notes/web-developing-in-php/codeigniter-mvc?authuser=0

Codeigniter3專案目錄結構_Day01

圖片
  Application Directory 應用程序文件夾將包含我們將要開發的所有應用代碼。應用程序文件夾包括如下 不同的文件夾 Cache:此文件夾包含應用程序的所有緩存頁面。 Config :此文件夾包含應用程序的一些關鍵PHP文件,如 autoload.php、config.php、 database.php、路由等。 Controllers:此文件夾包含應用程序的所有控制器。 Core:默認情況下,此文件夾只有 index.html 文件。但是你可以在這個文件夾中編寫自己的基類或者擴展核心類。 Helpers:此文件夾包含您要包含在應用程序中的所有輔助函數。 Hooks:通過使用掛鉤,您可以修改 codeigniter 框架內部工作文件,而無需更改 codeigniter 應用程序的核心文件。 Language:此目錄包含語言文件。 Libraries:它可能包含第三方庫或用戶定義的應用程序庫。 Logs:此文件夾包含日誌文件。 Models:這個文件夾有數據庫訪問文件。 Third_party:此文件夾可能包含將在應用程序中使用的任何第三方插件。 Views:此文件夾包含所有 html 頁面。 System Directory Core:這是包含整個核心類的主文件夾。請不要嘗試更改此文件夾中的任何文件。如果你想擴展任何核心功能,那麼你可以使用鉤子(應用程序/鉤子)。 Database:此文件夾包含數據庫文件,如緩存、驅動程序、查詢生成器等。 Fonts:這個文件夾有字體相關的文件。 Helpers:helper 文件夾包含通用的 codeigniter 幫助程序,如 url 幫助程序、數組幫助程序、日期幫助程序、cookie 幫助程序等。 Libraries:此文件夾包含 codeigniter 庫。您可以在 application/libraries 文件夾中創建自己的庫,也可以擴展或替換標準庫。 Language:此文件夾包含語言文件。 Ref: https://www.wdb24.com/codeigniter-framework-directory-structure/