Date Posted:02-06-2017 In this post We will explain image upload with crop,resize in codeigniter using jquery plugin I assume that you are  configure or setup the codeigniter step 1: Download the jquery.min.js and jquery.Jcrop.min.js,Jcrop.css files and link to script or use cdn link. <source type=”text/javascript”  src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js”></source>  <link rel=”stylesheet” href=”http://jcrop-cdn.tapmodo.com/v0.9.12/css/jquery.Jcrop.css” type=”text/css”… Continue Reading CodeIgniter Image Upload and Crop,resize

Introduction Many website owners prefer not to expose the programming language used to build their applications. For example, instead of accessing a page as https://example.com/about.php, it is often cleaner and more professional to use https://example.com/about. In Apache, this can be achieved using .htaccess rules. In Nginx, the same functionality can… Continue Reading Adding automatic extension (php) on nginx

Introduction Sending emails with HTML templates in CodeIgniter makes it easy to create professional and visually appealing email messages. Instead of writing the complete HTML content directly inside the controller, you can create a separate email template and load it dynamically when sending the email. In this guide, we will… Continue Reading How to send email using HTML templates in Codeigniter?

Introduction A dependent dropdown list is a common feature used in web applications where the options in one dropdown depend on the value selected in another dropdown. For example, when a user selects a country from the first dropdown, the second dropdown can automatically display the states or regions belonging… Continue Reading Dynamic dependent drop-down list using HTML, PHP, MySQL, and AJAX

Introduction A dropdown list is a common form element used to allow users to select one option from a predefined list. In many web applications, the dropdown values need to be retrieved dynamically from a database instead of being manually added to the HTML code. In this post, we will… Continue Reading How to Create a Dynamic Dropdown List Using PHP and MySQL

Introduction MySQL provides the FIND_IN_SET() function to search for a value within a comma-separated list. For example: This works when searching for a single value. However, if we want to search for multiple values at the same time, FIND_IN_SET() cannot directly handle the search in the following format: One way… Continue Reading MySQL: Search Multiple Values Without Using FIND_IN_SET()

When users update their profile information, it is important to ensure that certain fields, such as mobile numbers, remain unique across all user accounts. This article explains how to prevent users from updating their profile with a mobile number that is already assigned to another account. Scenario Assume you have… Continue Reading how to avoid inserting duplicate row in php while update user profile

Redis is an in-memory data store commonly used for caching, session storage, message queues, and high-performance database operations. Many PHP applications such as WordPress, Laravel, Magento, and custom web applications use Redis to improve performance and reduce database load. This guide explains how to install and enable the Redis PHP… Continue Reading Enable redis module on php – nginx webserver

Introduction This document provides a step-by-step guide for installing and configuring Nginx, PHP 7.0, PHP-FPM, and MariaDB on an Ubuntu 16.04.1 server. The setup is intended to provide a complete web application environment where Nginx acts as the web server, PHP-FPM processes PHP applications, and MariaDB provides database services. The… Continue Reading Install Nginx, Php, MariaDB on Ubuntu 16.04.1