Category : PHP



Codeigniter multiple drag and drop image upload example from scratch

Today i would like to share with you drag and drop image upload using dropzone.js in codeigniter application. We always require to make multiple file or image uploading function in our web application or project. We use input with multiple with image upload but it's not looks great and user does not like pretty much, so we should make it better. Image uploads is very basic feature for all project or website, But if you are working on PHP or any PHP framework like laravel, codeigniter, yii etc then you can simply use dropzoneJS library. dropzone.js is an open source js library that you can s.....

By Hardik Savani | June 11, 2017 | | 11711 Viewer | Category : PHP
READ MORE

Laravel 5 ajax request validation example

In this example, I am going to show you how to make validation using jquery ajax in laravel 5 application. It would be always greate if you use laravel validation for your web form in laravel project. we can use laravel validation very simply if we don't need to use jquery ajax. because laravel provide easy way to use validation without ajax. But if you want to use laravel validation with jquery then you can't do it easily. However you can make it by following example. In this example i will show you how to use laravel default validation with jquery ajax. Here we also print laravel validat.....

By Hardik Savani | June 9, 2017 | | 75441 Viewer | Category : PHP
READ MORE

How to get current controller or method name in Codeigniter ?

In this post, i am going to share with you how to fetch current controller or method name in codeigniter application. We may sometime need to get controller name for logic at that time we require to get current controller name from route. Same way if you require to get current method name then you can do it simply by using $this->route variable of codeigniter. In this example we will use two method of $this->router variable for getting controller name and method name as listed bellow: <strong>fetch_class()</strong> <strong>fetch_method()</strong> We can basically use this way: <pre> $contr.....

By Hardik Savani | June 8, 2017 | | 1591 Viewer | Category : PHP
READ MORE

How to prevent submit form on enter key except textarea in JQuery?

In this post, i will show you how to prevent form submitting on enter key with except textarea using javascript code. You can simply do this on your php, laravel, codeigniter, asp.ent etc project. In somecases, we require to disable form submit on press enter key on text box that way user must need to press submit button. We can do it simply but if we have to also textarea on that form that it can be cause issue because textarea should accept enter key and goes new line. However, we can also solve this issue by jquery code. So first let's see bellow few lines code for prevent form submit on e.....

By Hardik Savani | June 6, 2017 | | 2172 Viewer | Category : PHP
READ MORE

PHP MySQL - Simple Image Gallery CRUD example from scratch

Today we will learn how to create simple image gallery crud using bootstrap, mysql database, fancy box and PHP. We will create example from scratch so it will be easy to get full script example. Sometimes, we almost require to create image gallery or insert update and delete module for user, employee, admin, students etc. Photo album will help to easily upload image and remove that with proper validation. So we always want to built good bootstrap layout with image gallery. However in this tutorial, we will make photo gallery from scratch with good layout that way you can simply built it with .....

By Hardik Savani | June 2, 2017 | | 13803 Viewer | Category : PHP
READ MORE

Codeigniter - Dynamic dependent dropdown using jquery ajax Example

In this post, we will learn how to populate dynamic dependent drop down select box using jquery ajax in our codeigniter application. We may sometimes require to make dependent dropdown from database like when state select at that time bellow city drop down list should change, i mean related to selected state. In this example i have two tables and there are listed bellow: <strong>1.demo_state</strong> <strong>2.demo_cities</strong> So, when user will change state at that time, dynamically change city drop down box from database. you can implement this example in your application by follow bel.....

By Hardik Savani | May 25, 2017 | | 33436 Viewer | Category : PHP
READ MORE

Codeigniter JQuery Ajax image upload example from scratch

In this tutorial, I am going to explain how to upload image or file with jquery ajax using jquery form js in codeigniter application. As we know we always require to create function for image or file upload in our web application. So we require to give possibility to image upload. Image Upload functionality is a very basic require to all most back-end project for like user profile picture upload, product image upload, category photo upload etc. If you want to give just image upload without ajax then you can also follow this link : <a href="http://itsolutionstuff.com/post/how-to-upload-image-w.....

By Hardik Savani | May 19, 2017 | | 10540 Viewer | Category : PHP
READ MORE

Paytm payment gateway integration example in Laravel 5

In this tutorial, I am going to share with you How to integrate paytm payment gateway in laravel 5.4 application. As we know today market, all the things digital and as specially for india. India become digital india. Paytm is a very popular payment and commerce company based india. They provide very easy way to shopping and recharge of mobile, D2H, electricity bill etc. So in this example we will learn how to make paytm payment integration in laravel application. This example is from scratch using "anandsiddharth/laravel-paytm-wallet" package. So let's follow bellow few step and get preview .....

By Hardik Savani | May 16, 2017 | | 9990 Viewer | Category : PHP
READ MORE

Laravel 5 - How to create API Authentication using Passport ?

In this tutorial, We will lean how to build basic web services authentication in Laravel 5 application. In today, API as also know as Web services. Web services very important when you are create web and mobile app developing. You require to create API for you mobile application developer. As we know laravel is more popular because of creating API. But if you are starter and you don't know what is api and web services, then you are a right place. In this example i will show you how to create very simple api and authentication. Laravel introduce Passport package for api authentication. Passp.....

By Hardik Savani | May 9, 2017 | | 163923 Viewer | Category : PHP
READ MORE

Ajax Image Upload using PHP and jQuery Example from scratch

Today i am going to share with you how to make simple jquery ajax image upload with bootstrap example in PHP project. We generally require to make image upload function on our web application project. If you use only core php, then you can make simply image upload by page refresh. But if you want to make using jquery ajax, it best idea. Using jquery ajax image upload looks good and it can done without page refresh. In ths post i am going to share with you how to create image uploading using jquery very easy way. In this example we will use jquery.form.js plugin for ajax image upload. jquery......

By Hardik Savani | May 6, 2017 | | 13437 Viewer | Category : PHP
READ MORE

    How to create quick apache virtual host in Ubuntu?

    How to create quick apache virtual host in Ubuntu?

    Open Post

    iOS 7 style switches for checkboxes example using switchery JS

    iOS 7 style switches for checkboxes example using switchery JS

    Open Post

    Laravel 5.3 - Form Input Validation rules example with demo

    Laravel 5.3 - Form Input Validation rules example with demo

    Open Post

    Solved - Access Not Configured. Google+ API (truncated...) on google console developer

    Solved - Access Not Configured. Google+ API (truncated...) on google console developer

    Open Post

    Laravel 5.3 - Create Bootstrap Contact US Form using Form Request

    Laravel 5.3 - Create Bootstrap Contact US Form using Form Request

    Open Post

    PHP - How to make dependent dropdown list using jquery Ajax?

    PHP - How to make dependent dropdown list using jquery Ajax?

    Open Post