Month: April 2017

How to run multiple PHP version with XAMPP on windows Side By Side

Some time we are in a situation where we badly need another PHP version to check our projects in local machine. We have some solutions too for this like Vagrant or Docker which provides us virtual environment. But for some one who heard it first time or in a hurry what will be the solution … Continue reading

Laravel 5.2 – How to access image from storage folder

Laravel provides a powerful filesystem. Using filesystem you can easily upload files and make it private so user cannot download it directly.

But if you want to provide public URL then there is some way to do it.

Laravel 5.2: How to enable multi session per user in Sentry 2

If you are using Sentry 2 with your favourite Laravel framework then might have a single session per user which is security features. But you may need multi sessions per user. Say you have one account to allow to moderate content in your website from admin panel. And you don’t want to create multiple user … Continue reading

How to make the bootstrap modal width dynamic to its content

How to set/make the bootstrap modal width dynamic to its content display:inline-block elements get dynamic width regarding their content Add the following css to your page .modal-dialog { max-width: 100%; width: auto !important; display: inline-block; } Now add the following code to open the modal in center .modal{ text-align: center; }

How To Fix Invalid HELO Name

If you are facing Email sending problem like “Invalid HELO name” or “Helo command rejected: need fully-qualified hostname”. From WHM => Turn off the “Require RFC-compliant HELO” option under “WHM Main >> Service Configuration >> Exim Configuration Manager” Then the first thing first is your hostname. It is your hostname which is not fully-qualified domain … Continue reading