URI Segment in CI4
Posted on: Thursday November 21, 2024
url segment in ci4 [crayon-68d59bb6e5769330172907/] [...]
Read MorePosted on: Thursday November 21, 2024
url segment in ci4 [crayon-68d59bb6e5769330172907/] [...]
Read MorePosted on: Tuesday November 19, 2024
Redirect with a Flash Message To pass data (like success or error messages) during a redirect, you can use session flashdata. Example: Set flashdata in the controller before redirecting: [...]
Read MorePosted on: Tuesday November 19, 2024
Flashdata is temporary session data that is available for the next request only. Example: Setting Flashdata [crayon-68d59bb6e5ca0087231458/] Example: Retrieving Flashdata [...]
Read MorePosted on: Tuesday November 19, 2024
Storing Data in Session Use the session() helper function or the Config\Services::session() method to access the session instance. Storing Grouped Session Data Use the session()->set() method to [...]
Read MorePosted on: Tuesday November 19, 2024
Example of Routes (app\Config\Routes.php): [crayon-68d59bb6e5f7e082678102/] Using parameter (:any) [crayon-68d59bb6e5f83198960721/] [...]
Read MorePosted on: Tuesday June 11, 2024
CSRF/csrf in ci4 Enable CSRF: Go to app/Config/Filters.php Search for public array $methods and replace with: [crayon-68d59bb6e60e9452592441/] Use (Just paste under <from>) : <input [...]
Read MorePosted on: Wednesday June 5, 2024
<link rel=”stylesheet” href=”<?php echo base_url(); ?>assets/vendors/mdi/css/materialdesignicons.min.css”> assets folder is in public [...]
Read MorePosted on: Wednesday June 5, 2024
Copy index.php & htaccess file from public folder and paste it on root folder. open .htaccess file from root folder Paste below code on top of .htaccess page. [crayon-68d59bb6e625a434609963/] [...]
Read MorePosted on: Wednesday June 5, 2024
The framework needs the following extension(s) installed and loaded: intl Follow the steps to install it in XAMPP – Open [xampp_folder_path]/php/php.ini to edit. Search [...]
Read MorePosted on: Thursday January 18, 2024
Add reCaptcha in HTML form [crayon-68d59bb6e63ac520517581/] Get reCaptcha Value in jQuery and pass in ajax [crayon-68d59bb6e63b0563659914/] Validate reCaptcha [...]
Read More