The Code You Will Love

Session in CI4

Posted 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 More

Routes in CI4

Posted on: Tuesday November 19, 2024

Example of Routes (app\Config\Routes.php): [crayon-6812d83094596908010302/] Using parameter (:any) [crayon-6812d8309459b987775304/] [...]

Read More

React Setup

Posted on: Saturday October 26, 2024

Required: Install node npm   Step 1: Install React Router (For Navigate to pages:page link) Open your terminal and navigate to your React project directory. Then, run the following command to [...]

Read More

WorPress WooCommerce Security

Posted on: Tuesday October 22, 2024

STEP 1 : .htaccess [crayon-6812d830948d1562786328/] Important! Change xxx.xxx.xxx.xxx to IP address you wish to allow access xmlrpc.php or remove this line completely.   STEP 2 : Disable [...]

Read More

Whitelist IP in WHM

Posted on: Saturday October 19, 2024

To whitelist an IP address in WHM (Web Host Manager), follow these steps: Step-by-Step Guide: Log into WHM: Open your WHM panel by visiting https://your-server-ip:2087. Log in using your root [...]

Read More

Create React Project

Posted on: Thursday September 26, 2024

To create a new React project using Create React App (CRA), follow these steps: Step 1: Install Node.js Ensure you have Node.js installed on your machine. You can download it from the official [...]

Read More

Export Large Database in cPanel by SSH Command

Posted on: Wednesday September 18, 2024

To export a large MySQL database via the command line, you use the mysqldump utility. Here’s the basic syntax and steps for exporting a large database: Basic Syntax mysqldump -u username -p [...]

Read More

Import Large Database in cPanel by SSH Command

Posted on: Wednesday September 18, 2024

Importing large database from phpmyadmin Import is difficult because of time limit and file size, so here we will see how to import large databases in phpmyadmin or cPanel using SSH. You can use the [...]

Read More

Product Zoom Gallery for e-commerce

Posted on: Saturday August 24, 2024

e-commerce product zoom gallery https://codepen.io/hckkiu/pen/poyoRKQ https://codepen.io/danielhuangg/pen/xqaMrM https://codepen.io/ZowWeb/pen/xxGLrjp [...]

Read More

HTML Form Select Menu Styling

Posted on: Wednesday August 21, 2024

Here we will see how to style HTML Form  <select> menu. [crayon-6812d83094b28667834631/] [...]

Read More
Translate »