Latest Post

Codeigniter 3 and AngularJS CRUD with Search and Pagination Example.

In This tutorial i want to show you how to create CRUD(Create, Read, Update, Delete) using AngularJS in Codeigniter. I added few step to create create, edit, delete, lists, search and pagination application in your Codeigniter framework. In this tutorial through you can make simple crud, search and pagination module and easily use in your codeigniter project. I am going to show preview of items module that we will do using angularJS and Codeigniter 3. <strong>Preview:</strong> <img src="/upload/code-angular.png" width="100%" style="border:2px solid cadetblue" /> <strong class="step">Step 1: C.....

By Hardik Savani | February 21, 2016 | | 106337 Viewer | Category : PHP Codeigniter AngularJS

How to convert one time zone to anothor time zone

Some application required one time zone to convert another time zone. PHP provide some readymade timezone conversion classes but it a very complecated. so we have try to define this function simple way. You can createe a simple class and write one function into the class. then you able to use this function everywere. <pre class="language-php"> class convertTimezone { function convert_timezone() // Constructor of the class { } function converToTime($conv_fr_zon=0,$conv_fr_time="",$conv_to_zon=0) { //echo $conv_fr_zon; $cd = strtotime($conv_fr_t.....

By Hardik Savani | February 17, 2016 | | 714 Viewer | Category : PHP Laravel

How to remove query string from URL using JQuery

<strong>Why remove query strings?</strong> Main two reasons for this. 1. Clear URL alwaya look better than the long URL 2. When you are not remove your query string from URL. then all get variable show in you URL string. sometime it not good for a security You can remove your query string using this simple Jquery code. <pre class="language-javascript"> $(document).ready(function(){ var uri = window.location.toString(); if (uri.indexOf("?") > 0) { var clean_uri = uri.substring(0, uri.indexOf("?")); window.history.replaceState({}, document.title, clean_uri); } }); </pre>

By Hardik Savani | February 17, 2016 | | 2372 Viewer | Category : jQuery

Crop, Resize, Frames etc on selected image in php using Aviary

Whenever you require to use any image plugin for select image and crop,resize,effects,frames,strickers ect, so you have to use Aviary api like as you see of facebook, twitter ect., that site plugin provide lots of efects and api guide that way you can use easily in your web app and as well as on mobile app too. So, I am going to give demo of how to use this api in our side. <strong>Preview:</strong> <img style="border:2px solid cadetblue;width:100%" src="/upload/selectimage.png"> <strong>Example</strong> <pre class="code language-html"> <html> <head> <title>Aviary Image U.....

By Hardik Savani | February 16, 2016 | | 3486 Viewer | Category : PHP Javascript HTML CSS jQuery

laravel 5 change date format using carbon example

Sometimes you require to change date format in your laravel app. we have to use Carbon class for change format in laravel, because it provide many date function for like change date formate, count diffrence between two dates in days etc. So, Basically i am going to show you change date format using Carbon. we will use createFromFormat() and format(), createFromFormat() will take two argument first give format of date and second one date and format() take one argument give formate as you want. you can see bellow example: <strong>Example:</strong> <pre class="language-php"> $date = date('Y-m-d H.....

By Hardik Savani | February 16, 2016 | | 4334 Viewer | Category : PHP Laravel

Laravel Cashier Git SweetAlert Plugin Site Multiple roumen/sitemap Laravel 5 ACL Behance API Login With FB slice() orderBy Where In Query phpmyadmin Auth Datetimepicker Ip Address Append refspec Export Message Connection Pixel Twitter API Stripe Phonegap Confirm Box tagsinput.js away() Payment Gateway is_null File Upload Dynamic Dependant Dropdown SEO CORS File milon/barcode MySql Elasticsearch Authentication voyager package Flash Message INTERVAL Gravatar Image Bootstrap Tokenfield Plugin file_exists Library max_file_uploads Redirect Effect Old Join Trigger softDeletes Draggable Composer Image Gallery Check Commit no-captcha Excel Protection Datepicker FIND_IN_SET() ngclipboard.js Server Reset Last Branch Snippet Laravel 5.4 Paging jQuery Dialog box Source Code Form Jquery Key Constraint Mail Email Verification Executed Automatically Strip Tags mod_rewrite Number WHERE Query Subscribe nl2br str_replace Repository Pattern npm array_change_key_case Sort timestamps Sublime text 3 Bootstrap Plugin Backup Remote Botdetect Captcha parse whitespace Notification Chart.js Data Facade Admin Bootstrap Theme Div word-wrap Google API Collapse refs GuzzleHttp XSS Version php artisan serve Scratch Solve Nodejs Installation Select Query Dropbox API guzzle http client Loop Foreach Lightbox Mailgun API Calculate Null Controluser pngquant Sublime Select colorpicker scrollTop Force Packages Clear DATE_SUB Variable API Page Contact US Form thujohn/twitter package read more str_random() Jquery Dialog Box Opencart AngularJS TrustAsHTML Filter Fetch Object Strings