CSS, JS and image path from public folder in CI4
Posted 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
<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-67685082606dc041080898/] [...]
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-67685082609a4052787669/] Get reCaptcha Value in jQuery and pass in ajax [crayon-67685082609a9575978321/] Validate reCaptcha [...]
Read MorePosted on: Thursday October 12, 2023
Create, set and get the session in CodeIgniter 4 [crayon-6768508260a7e796938811/] In view, you have to call the session again where you want to get session [crayon-6768508260a82163361388/] [...]
Read MorePosted on: Saturday October 7, 2023
First of all create a method/function name ‘valid_password’ [crayon-6768508260b1e124479621/] callback in Validation rule [crayon-6768508260b21317491355/] [...]
Read MorePosted on: Saturday August 26, 2023
1.Enable csrf application/config/config.php $config[‘csrf_protection’] = FALSE; to $config[‘csrf_protection’] = TRUE; and configuer other thing if you want. 2. [...]
Read MorePosted on: Tuesday May 9, 2023
Hope you know how to configure CodeIgniter, so here we will see how to implement PHPExcel in CodeIgniter for Import and Export MySQL Data in Excel. STEP: 1 Download the PHPExcel library and [...]
Read MorePosted on: Wednesday March 22, 2023
Store multiple data in a session, you can store multiple times data in a PHP session without destroying previous session data. Please find PHP method below: [crayon-6768508260e96897720372/] [...]
Read MorePosted on: Saturday February 25, 2023
CodeIgniter 4 officially not supporting Cart Library like CI3. but we will use the same cart in CI4. Let’s get Started. STEP 1 Create a file ‘Cart.php’ in [...]
Read More