Introduction Apache Benchmark (ab) is a simple command-line utility used to perform basic load and performance testing on web servers and websites. It sends multiple HTTP requests to a specified domain or IP address and measures the server’s response. It provides useful performance metrics such as response time, requests per… Continue Reading How to Perform Load Testing Using Apache Benchmark (ab)

Form validation is an essential part of web development. It helps ensure that users enter valid and complete information before submitting a form. By validating data on the client side, you can provide instant feedback to users and reduce unnecessary requests to the server. In this tutorial, you will learn… Continue Reading Simple form jquery validation in php

Introduction One of the most common challenges when deploying applications behind a load balancer is enforcing HTTPS redirection. In many environments, SSL/TLS termination happens at the load balancer level, and requests are forwarded to backend Nginx servers over HTTP. In this scenario, traditional HTTP-to-HTTPS redirection methods may fail or create… Continue Reading Redirect http to https on nginx behind load balancers

Introduction When starting or restarting the network service on a Linux VM, you may encounter the following error: This issue commonly occurs when the network interface configuration does not match the network adapter available on the VM. It can happen after changing the VM’s network adapter or when the configured… Continue Reading How to Fix “Device eth0 Does Not Seem to Be Present” Error in Linux?

NFS (Network File System) allows files and directories to be shared and mounted between Linux servers over a network. In this guide, we will configure one Ubuntu server as an NFS server and mount the shared directory on another Ubuntu client server. Introduction NFS is commonly used to share directories… Continue Reading Set up NFS server and configure NFS mount point on Ubuntu

Introduction HAProxy is a popular open-source load balancer and proxy server. It can be used to forward incoming requests to backend servers and distribute traffic across multiple servers. In this article, we will explain how to install HAProxy on an Ubuntu server and configure it to forward requests from port… Continue Reading How to Install and Configure HAProxy on Ubuntu

Introduction Dynamic input fields allow users to add or remove multiple file inputs on a web page without refreshing the page. In this tutorial, we will implement a simple multiple-file upload form using HTML, PHP, JavaScript, and jQuery. When a user selects a file, a new file input is automatically… Continue Reading Add and remove dynamic input elements

Introduction This guide explains how to use PHP to compress an entire directory into a ZIP file and automatically download the generated ZIP file through the browser. This is useful when users need to download multiple files or folders as a single archive. Prerequisites Before implementing this functionality, ensure the… Continue Reading Php zip a directory and automatically download

Introduction Email deliverability is one of the major challenges when setting up a new mail server. Emails sent from an untrusted or unauthenticated mail server may be delivered to spam folders or rejected by popular email providers. DomainKeys Identified Mail (DKIM) is an email authentication mechanism that allows an outgoing… Continue Reading DKIM Setup on Postfix Mail Server Using OpenDKIM – CentOS 6/7

Introduction MySQL provides the FIND_IN_SET() function to search for a value within a comma-separated list. For example: This works when searching for a single value. However, if we want to search for multiple values at the same time, FIND_IN_SET() cannot directly handle the search in the following format: One way… Continue Reading MySQL: Search Multiple Values Without Using FIND_IN_SET()