30th January 2024
The longest runway in the world is 16,404 ft long - Learn more
Laravel 419 page expired after login [SOLVED]
Updated 1st January 2024
Laravel is the most popular PHP framework, dominating the space since 2014, and the chosen framework by many new PHP developers. Many new developers run into the same errors when first using the framework, the most common being a 419 Page Expired error on a form post. What is Cross-Site Request Forgery (CSRF)? Cross-site request
Can you sneeze while asleep?
Updated 4th August 2022
Have you ever wondered if you can sneeze while asleep? It’s definitely not the kind of question most people ask themselves when they wake up in the morning. Usually, you might sneeze as a result of your body ejecting an allergen or as a response to a virus. Neither allergens nor viruses care if you’re
What are next-gen image formats?
Updated 17th March 2022
Google Page Insights is a useful tool used to report on the performance of webpages on both mobile and desktop devices and provide suggestions on how the page can be improved. A common suggestion many websites are given is ‘Serve images in next-gen formats’, but what are next-gen image formats? Next-gen image formats provide superior
React JSX Error – Adjacent tags must be wrapped in an enclosing tag
Updated 17th March 2022
React is a popular and powerful library used by developers across the world. Initially released by Facebook in 2013, React has seen widespread adoption for its faster rendering, stable code and its helpful developer tool set such as the React Developer Tools browser extension for Chrome and Firefox. However, there are a number of reasons
What is a CDN and should you be using a one?
Updated 16th August 2022
In this post, we are going to take a closer look at how CDN’s (Content Delivery Networks) work and what the advantages and disadvantages are of using a CDN to delivery your users static assets such as images, CSS files or JavaScript files. You will learn what a CDN does exactly, how it can prevent
Pixel Tracking in PHP
Updated 16th August 2022
When creating email campaigns, it’s important to know how many recipients actually opened your email. This information can help you determine if your efforts are working or if it’s time to change your strategy. Most mail champaign tools such as Mailchimp and SendInBlue use a technique called Pixel Tracking. In this post, you will learn
[UPDATED 2022] Change PHP version on Ubuntu, Linux
Updated 23rd August 2022
In this post, I will show you how to switch PHP version on Ubuntu, Linux. If you are developing on Windows, follow this guide to set up Windows Sub System for Linux. What will be covered: Change PHP version for Apache2 Change PHP version for Nginx Change PHP CLI version In this example, we will
JDBC Connector Communication link failure error to MySQL
Updated 3rd January 2024
Are you having trouble connecting to a MySQL database through JDBC Connector in a database management tool such as DBeaver Community Edition? DBeaver fails to connect to a local MySQL database with the error “Communication link failure the last packet sent successfully to the server was 0 milliseconds ago“. Here is a breakdown of this
Prevent Chrome and Firefox auto-filling password
Updated 16th August 2022
Do you have a user management page where users are able to update their account passwords? Do you have form validation that checks a password field against a confirmation password field but the validation fails because the browser has auto-filled the values? In this article, you will learn how to prevent Chrome and Firefox from
How to exclude an IP Address from Google Analytics
Updated 16th August 2022
Google Analytics is a great tool for tracking your website traffic, analyzing trends, and seeing the fruits of your labor if you’re currently trying out a new marketing strategy. However, if you’re like me and on your website a lot, the last thing you want is to unintentionally pollute your Google Analytics data. In this