教學與資訊
[CodeIgniter 4] 顯示時間
說明在 CodeIgniter 4 透過 toDateTimeString(), toDateString() 和 toTimeString() 顯示時間的方法。
教學與資訊
說明在 CodeIgniter 4 透過 toDateTimeString(), toDateString() 和 toTimeString() 顯示時間的方法。
教學與資訊
說明 CodeIgniter 4 時間的基礎應用,以及取得現在、今天、昨天或明天時間的方法。
教學與資訊
要在 CodeIgniter 4 設定預設時區,需要打開 app/Config/App.php 的檔案,找到 public $appTimezone 並更改值就可以了。
教學與資訊
要在 CodeIgniter 4 取得 post 或 get 的資訊,可以透過 getPost() 和 getGet() 取得。
教學與資訊
說明如何在 CodeIgniter 4 設定、取得以及檢查 session 的方法。
教學與資訊
說明在 CodeIgniter 4 顯示/回傳 JSON 或 XML 格式內容的方法。
教學與資訊
說明要在 CodeIgniter 4 中設定網址(路由)規則與搭配 Controller 的方法。
教學與資訊
說明 CodeIgniter 4 Model 的基礎用法,以及與 Controller 該如何搭配。
教學與資訊
說明在 CodeIgniter 4 開啟除錯模式(debug mode)方便檢查程式錯誤的方法。
教學與資訊
說明 CodeIgniter 4 視圖(View)基礎,以及如何透過視圖建立樣板以及帶入變數。
教學與資訊
說明在 CodeIgniter 4 設定全站共用變數的方法。
教學與資訊
說明在 CodeIgniter 4 Controller 的基礎與設定 route 的方法。
教學與資訊
說明在 CodeIgniter 裡面使用 view 的方法。
教學與資訊
說明用 CodeIgniter 實作網站 RSS 的方法。
教學與資訊
說明在 CodeIgniter 處理 URI you submitted has disallowed characters 的方法。
教學與資訊
在 CodeIgniter 只要透過 xss_clean() 就可以做 XSS 的輸入內容過濾。
教學與資訊
當我們寫好 API 後,如果因為網域不同,是沒辦法存取的,如果我們使用 CodeIgniter 寫好的 API 是要給其他網域存取的話,就需要做一下設定。
教學與資訊
在 CodeIgniter 裡,如果要以陣列的內容為條件查詢資料庫裡是否有符合的資料,可以使用 where_in()。