The Code You Will Love
csrf in CodeIgniter 4
Posted 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-68961807ca06e160731537/] Use (Just paste under <from>) : <input [...]
Read MoreCSS, 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 MoreRemove public from path of css js and images in ci4
Posted 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-68961807ca5bb960562331/] [...]
Read MoreThe framework needs the following extension(s) installed and loaded: intl
Posted 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 MoreYouTube Channel Video API in PHP
Posted on: Monday May 27, 2024
How to load/list YouTube channel Videos? Here we will see how we can load YouTube channel video in our website by using JSON. Now we will start this from scratch STEP 1 (Get API Key): We will get [...]
Read MoreYouTube channel video in website
Posted on: Monday May 27, 2024
How to load/list YouTube channel Videos? Here we will see how we can load YouTube channel video in our website by using JSON. There are two steps: Query Channels to get the “uploads” Id. [...]
Read MoreInstagram Feed on Website PHP
Posted on: Friday May 24, 2024
Instagram Feed in PHP STE 1 : Get Instagram Access Token https://docs.oceanwp.org/article/487-how-to-get-instagram-access-token STEP 2 : PHP Code for Website [crayon-68961807cab12819101211/] [...]
Read MoreFile Size Validation jQuery
Posted on: Wednesday May 22, 2024
Multiple selected files size validation before form submit in jQuery. HTML Form [crayon-68961807cacbb253347562/] jQuery Validation [crayon-68961807cacc1236856299/] [...]
Read MoreProduct Cost by Sell Price and GST
Posted on: Monday April 15, 2024
X + (X*5/100) = 500; Find X (product cost) [crayon-68961807cae48376716676/] [...]
Read MoreShort Code in WordPress
Posted on: Thursday February 22, 2024
function.php [crayon-68961807cafd3520215750/] anytheme [crayon-68961807cafd8765625310/] [...]
Read More