Harrisonm

Redirect contact form 7 to thank You page in Landing page

As you know, Contact Form 7 redirects to the same URL as the form’s URL after form submissions in the default settings. However, in very rare cases, you might need to change this to make it redirect to another URL after submissions. I’ll write in this post how you can...Read more …
Harrisonm

Preview an image before it is uploaded

I want to be able to preview a file (image) before it is uploaded. The preview action should be executed all in the browser without using Ajax to upload the image. [crayon-58ab8ce6c1c3a082031824/] and the associated HTML: [crayon-58ab8ce6c1c3e197850063/] The FileReader object lets web applications asynchronously read the contents of files (or...Read more …
Harrisonm

How to store all records in laravel Cache

You can easily save database record in cache and easily you can get that record from cache in Laravel. Cache is knows as persistence layer between database and application and it is used to improve website performance because sometime database query is going very slow due to lots of traffic...Read more …
Harrisonm

How to get last executed mysql query in laravel 5

Sometime while working with laravel framework you need to see last executed query for debugging . You can use DB::getQueryLog() function to get all executed queries if you want to get last executed then use end()method. Before getting query log you need to first enable it by using DB::enableQueryLog() function...Read more …
Harrisonm

401 Authorization Required on Facebook Share

Problem :- 401 Authorization This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn’t understand how to supply the credentials required.   Reason : This Error is probably because the Link you want to share...Read more …