Date Posted: 26-12-2017 In this Post we will explain convert the number to words in indian currency upto 10 crore. Step 1: Create new file name index.php and paste the following code. <?php /*Number format*/ function getIndianCurrencyToWords(float $number) { $decimal = round($number – ($no = floor($number)), 2) * 100; $hundred… Continue Reading Convert Number to Words in Indian currency format with paise value

Date Posted: 25-12-2017 In this post we will explain how to change site url in the new moved domain. Step 1: Open the wp-config.php and edit define(‘DOMAIN_CURRENT_SITE’, ‘newdomain.com’); define(‘WP_DEBUG’, false); define(‘WP_ALLOW_MULTISITE’, true); define(‘MULTISITE’, true); define(‘SUBDOMAIN_INSTALL’, false); define(‘DOMAIN_CURRENT_SITE’, ‘newdomain.com’); define(‘PATH_CURRENT_SITE’, ‘/’); define(‘SITE_ID_CURRENT_SITE’, 1); define(‘BLOG_ID_CURRENT_SITE’, 1); Step 2: Open mysql or phpmyadmin… Continue Reading Changing the Domain Name on WordPress Multi-site

Date Posted: 22-12-2017 In this Post we will explain how to setup multisite in wordpress. Step 1: Open wp-config file and find the copy-paste following code just above the “That’s all, stop editing! Happy blogging” comment. define(‘WP_ALLOW_MULTISITE’, true); Step 2: Open the wp-admin in browser and goto tools->Network Setup and… Continue Reading WordPress Multisite Domain setup

Posted Date:20-07-2017 In this post we will explain moving wordpress media to amazon cloudfront and S3. step 1: Install the following plugins on wordpress. https://wordpress.org/plugins/amazon-web-services/ https://wordpress.org/plugins/amazon-s3-and-cloudfront/ step 2: To configure Amazon Web Services account here and create the new user in aws console. step 3: To create the aws s3 bucket… Continue Reading Moving WordPress Media To Amazon CloudFront and S3

How to install Ioncube loader on Linux Date Posted: 03-10-2017 Ioncube loader is a php module used to encrypt php code. This post explains on how to install Ioncube loader on linux server. The Linux server can be Ubuntu, centos or other operating system. Prerequisites: Linux Host. Apache Webserver. If… Continue Reading How to install Ioncube loader on Linux

Posted Date:20-07-2017 In this we will explain mysql_query update using custom user created function Step 1: Create table name as product using following code CREATE TABLE `product` ( `pid` int(11) NOT NULL AUTO_INCREMENT, `pname` varchar(100) NOT NULL, `price` int(11) NOT NULL, `pimg` varchar(100) NOT NULL, `cat_id` int(11) NOT NULL, PRIMARY… Continue Reading Update query in php using function

Posted Date:26-08-2017 In this post we will explain how to create cash receipts denominations using php,jquery Step 1: Include jQuery  Plugin and css <source src=”http://code.jquery.com/jquery-2.2.4.min.js” integrity=”sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=” crossorigin=”anonymous”></source> <source type=”text/javascript” charset=”utf8″ src=”https://cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js”></source> Step 2:Include following css code inside head tag .mul_by{ width: 10%; } .mul_by .form-control{ display: inline-block; width: 66%; padding:… Continue Reading cash receipts denominations using php,jquery

Posted Date:26-08-2017 In this post we will explain eval and  Dynamic IF statements  using php Eval: eval — Evaluate a string as PHP code. Php code must be properly terminated using a semicolon. A return statement will immediately terminate the evaluation of the code. Syntax: eval(phpcode) Example: Simple example of eval php using simple… Continue Reading Dynamic IF statements using php

Install Apache, php7, mysql on Redhat 7 server Apache is a popular webserver and our previous post explains on how to install on ubuntu, centos server. In this article, we will explain on how to install apache, php, mysql on redhat 7 server. Prerequisites: Server Root access Implementation: Login to… Continue Reading Install Apache2, php7, mysql on Redhat 7 server

Posted Date:04-08-2017 In this post we will explain dynamic column header and result from ajax call in jquery datatable   Step 1: Include jQuery  Plugin and css <link rel=”stylesheet” type=”text/css” href=”http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css”> <source src=”http://code.jquery.com/jquery-2.2.4.min.js” integrity=”sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=” crossorigin=”anonymous”></source> <source type=”text/javascript” charset=”utf8″ src=”https://cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js”></source> Step 2: Add the following script for data table initialization with… Continue Reading dynamic column header and result from ajax call in jquery datatable