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

Adding automatic extension (php) on nginx Date Posted:25-05-2017 Well, normally no one likes to expose the language written on their website. On apache, we will use .htaccess to autoadd the extension. In this post, we will show on how to autoadd the extension on nginx configuration. Incase, if nginx is… Continue Reading Adding automatic extension (php) on nginx

Date Posted:24-05-2017 In this post we will explain how to send email using HTML templates in Codeigniter How to send email using HTML templates in Codeigniter Step 1: Create HTML file with suits to your template. Path : /application/views/emails/test-email.php <!DOCTYPE html> <html> <head> <meta charset=”utf-8″ /> <title>Codeigniter mail templates</title> <meta… Continue Reading How to send email using HTML templates in Codeigniter

Posted Date:08-05-2017 In this post we will explain dynamic dependent drop down list using html,php,mysql,ajax Dynamic Dependent dropdown list using php Step 1: Create a new file dropdown-ajax.php step 2: Create a mysql connection code inside dropdown-ajax.php <?php $host = ‘localhost’; $user = ‘root’; $pass = ”; mysql_connect($host, $user, $pass);… Continue Reading Dynamic Dependent drop down list using html,php,mysql,ajax

Posted Date:20-02-2017 This Post will explain how to search multiple string in mysql without using find_in_set function. In mysql find_in_set function possible check only string like this Example: find_in_set(‘a’,’a,b,c,d’) But not possible Search like this find_in_set(‘a,b,c,d’,’a,b,c,d’) if the we want multiple search the text only possible like this find_in_set(‘a’, ‘a,b,c,d’)… Continue Reading MySQL find_in_set with multiple search string

Date Posted:17-02-2017 This post we will explain on how to avoid duplicate mobile number update in user profile. Assumption: Table Name: ls_user Column name:phone, email Implementation: First,pass your email id and also pass new phone number second,run the query and check the number of rows zero mean execute next functionality… Continue Reading how to avoid inserting duplicate row in php while update user profile

Date Posted:12-02-2017 Redis is a in memory cache used as database cache, database to serve the page faster. We are not going to deal with how the application works, usage,etc., Refer redis official documentation to get to know the use case,etc., Prerequisites: Ubuntu 16 Nginx webserver Php If webserver or… Continue Reading Enable redis module on php – nginx webserver

In this post, we are gonna explain on how to install nginx, Php, Mariadb on Ubuntu 16.04.1. We have used AWS ubuntu server on this article.  apt-get install nginx Start the nginx service. systemctl start nginx Enable the service on startup so that it will get automatically started whenever the… Continue Reading Install Nginx, Php, MariaDB on Ubuntu 16.04.1