HDTuto.com

Latest Articles


Laravel 5.5 Get Route Name in Controller, View and Middleware

Hi, Guys Today is crazy day, I want to let you know how to get route name in controller or view or middleware etc in your laravel 5.5 application. Sometime, we need to get route name for as per give on url. We can easily get route name two way using following facade: <strong>1) Request:</strong> <strong>2) Route:</strong> If you are getting route name in controller then "Request" facade will hel.....

Posted On November 7, 2017

Laravel 5.5 - Force Download File using response helper

We may sometime require to download zip or pdf file for report or invoice in Laravel 5 application. So in this article i will let you know how to force download file using response "download()" method. As we know, we have to make response from controller for download file. So you have to simple return response with download(). download() take three argument as listed bellow syntax: <strong>Synta.....

Posted On November 6, 2017

Laravel 5.5 - multiple images uploading using dropzone js

If you are planing to implement drag and drop multiple images upload using ajax in your laravel 5.5 application then you a right place. Here i will let you know how to upload multiple images upload using ajax. If you think drag and drop images upload with ajax and it is easy then you are wrong. It is not easy to make drag and drop image upload. But if you are doing it using dropzone js then it's .....

Posted On November 5, 2017

Codeigniter 3 undefined property $db in model - Fix

Hi, Guys If you have same issue, undefined property $db in codeigniter 3 application then you are a right place and i can help to fix this issue quick. If you used model and then you are directly going to use "$this->db" for access database table data. You will find this error "undefined property $db in codeigniter" If you are using codeigniter 3 project. However, we can resolve this issue in .....

Posted On November 5, 2017

Codeigniter 3 - call to undefined function base_url() Fixed

Hi, Friends In this tutorial i will show you how to solve base_url() function not working in codeigniter 3. When i was starting to work on my codeigniter 3 project few days ago. I just followed to some tutorial from google. But when i used base_url() in codeigniter 3 project as explained in tutorial. After run project i found following error. "Fatal error: Call to undefined function base_url().....

Posted On November 5, 2017