Date Posted:02-06-2017 In this post  we will explain create new library in codeigniter for currency conversion,symbol I assume that you are configure or setup the codeigniter Step 1:Create the mysql table currency,use following code — phpMyAdmin SQL Dump — version 3.5.2.2 — http://www.phpmyadmin.net — — Host: 127.0.0.1 — Generation Time:… Continue Reading Currency Conversion and Symbol library in CodeIgniter

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

Date Posted:29-05-2017 In this post we will explain Run a Codeigniter in a cron job using CPanelin Codeigniter Step 1: Open Cpanel->cronjob Step 2: add command text box below code wget http://domainname.com/Cronjob/sendDailyEmail Step 3:create a new controller give name as Cropjob.php,Create the new  function give name as  as sendDailyEmail  here  add… Continue Reading Run a Codeigniter in a cron job using CPanel

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:24-05-2017 In this post we will explain how to use a sub folder in default controller route in codeigniter 3 How to use a sub folder in default controller route in codeigniter 3 step1:Open application->system->Router.php file and edit the below mention line number Step2: line 1(298). if (sscanf($this->default_controller, ‘%[^/]/%s’,… Continue Reading How To Use A Sub Folder In Default Controller Route In Codeigniter 3

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:08-05-2017 In this post we will explain how to dropdown list dynamically using html,php First we explain dynamic dropdown list using php Dynamic dropdown list using php Step 1: Create a new file dropdown.php step 2:  Create a mysql connection code inside dropdown.php $mysqlserver=”localhost”; $mysqlusername=”root”; $mysqlpassword=””; $link=mysql_connect($mysqlserver, $mysqlusername, $mysqlpassword)… Continue Reading Dynamic Dependent drop down list using html,php,mysql

Date Posted: 04-05-2017 We are getting continuous 500 internal server on our php-fpm/fcgi apache server. The log reports the following error [Day Month xx 10:09:14.269068 2017] [fastcgi:error] [pid 1422] [client xx.xx.xx.xx:59020] FastCGI: incomplete headers (0 bytes) received from server “/usr/lib/cgi-bin/php7-fcgi” [Day Month  xx 10:09:46.864781 2017] [fastcgi:error] [pid 1690] [client xx.xx.xx.xx:59021] FastCGI: comm with server… Continue Reading FastCGI: comm with server “/usr/lib/cgi-bin/php7-fcgi” aborted: idle timeout

Install Apache with php-fpm on Ubuntu 16 Date Posted:03-05-2016 Php-fpm is a FastCGI Process Manager which is faster to serve php when compared to mod_php. In this post, we will explain on how to install Apache with php-fpm on Ubuntu 16 host. Implementation: Let’s Start with apache2 installation. apt-get install… Continue Reading Install Apache with php-fpm on Ubuntu 16

Posted Date:04-03-2017 In this Post we will explain how to validate html/php forms using jquery validator. First we will made a simple validation form using JQuery. Step 1: Include jQuery And Validation Plugin Create a new HTML file named index.html and include jQuery before the closing body tag: Step 2:Create the HTML… Continue Reading Simple form jquery validation in php