An error that says “Call to undefined function Intervention\Image\finfo_buffer()”. This error can occur if the PHP fileinfo extension is not installed or enabled on your system. The fileinfo extension is used by the Intervention/Image package to determine the type of image files that you’re trying to manipulate. Without this extension, you won’t be able to …
I’ve been working with some clients who ran Laravel under older PHP versions than I have installed so I needed a quicker way to access the correct versions in command prompt. 1. Make sure you download the PHP versions you need or use wampserver. I needed 2 different versions PHP 7.3 and PHP 7.4 2. …
Modsecurity is enabled and you’re receiving 403 forbidden errors when making edits on WordPress.
WIth access to WordPress files you can force login using wp_set_current_user and wp_set_auth_cookie without knowing the password.
Quick example on how to send a transactional email with Mailjet API v3.1 using PHP.
Checking the signature key of a webhook from Authorize.Net to help reduce abuse from unwanted requests.
I needed a solution that sends a “welcome” email to the user whenever the admin changes the “Customer Group” to one they specified.
I used this simple way to set and store the locale setting in Laravel 5.6 using middlewares. The code is pretty basic, if there’s a locale in the request then set the setting in session based on the parameter.