PHP: Following redirects with cURL.
This is a short guide on how to force PHP’s cURL functions to follow a HTTP redirect.
Read More...This is a short guide on how to force PHP’s cURL functions to follow a HTTP redirect.
Read More...This is a beginner’s tutorial on how to use the Radio Button HTML element with PHP.
Read More...This is a PHP tutorial on how to retrieve a visitor’s country code from Cloudflare’s CF-IPCountry header.
Read More...This is a short PHP tutorial on how to use cURL to make a Basic Access Authentication request.
Read More...This article shows you how to the get the user’s IP address from a Cloudflare request using PHP.
Read More...In this guide, we show you how to block POST requests using PHP. We also show you which HTTP header you should return to the client.
Read More...This is a short JavaScript tutorial on how to change the selected option of a select HTML element. In this post, I will show you how to do it with and without JQuery.
Read More...This is a beginners guide on how to round a decimal number up using PHP’s ceil function.
Read More...This is a common error that occurs whenever you attempt to use PHP’s cURL functions to connect to an HTTPS website.
Read More...This is a short PHP tutorial on how to convert an image file into Base 64 before displaying it.
Read More...This is a short guide on how to log text to a file using PHP.
Read More...A short tutorial on how to get a client’s request headers using PHP.
Read More...A short tutorial on how to load images as BLOB data using the JQuery JavaScript library.
Read More...This is a short guide on how to calculate the ratio between two numbers using PHP.
Read More...This is a short guide on how to use a local WSDL file with the PHP SoapClient object.
Read More...This is a short PHP tutorial on how to send a HTTP POST request without using cURL.
Read More...This is a common error that occurs whenever PHP’s curl extension has not been installed or enabled.
Read More...This is a PHP tutorial on how to get a list of files that have been included in your script.
Read More...This is a short tutorial on how to copy files using PHP.
Read More...If you are encountering this undefined error, then it means that you are trying to use the old mysql_* functions in PHP 7.
Read More...This is a short PHP tutorial on how to create a simple user logout script that guards against CSRF attacks.
Read More...This is a PHP tutorial on how to check if the operating system is Windows.
Read More...This is a short guide on how to create an infinite loop using PHP.
Read More...This is a basic tutorial on autoloading PHP classes that use namespaces.
Read More...This is a beginners tutorial on how to do basic subtraction in PHP. The aim of this tutorial is to help developers who are completely new to the language.
Read More...This is a short guide on how to send a JavaScript object to a PHP script using an Ajax request.
Read More...The other day, I came across an issue where the JSON.stringify method failed to convert one of my objects into a JSON string.
Read More...A short and simple guide to releasing session locks in PHP.
Read More...A short guide on how to forward HTTPS headers with HAProxy so that PHP knows what protocol is being used.
Read More...This is a short tutorial on how to create a JavaScript date that is “7 days ago” or “30 days ago”.
Read More...This is a short tutorial on how to connect to an IMAP email inbox using PHP’s imap functions.
Read More...This is a tutorial on how to handle errors when making Ajax requests via the jQuery library.
Read More...This is a short guide on how to get the ID of the last inserted row using PDO’s lastInsertId method.
Read More...In this guide, we show you how to generate a random number using PHP. We also explain why you should use the random_int function.
Read More...This is a short tutorial on how to send an Ajax request every 10 seconds – something that is often referred to as polling.
Read More...