Advertising
June
17

How to prevent XSS attacks and disallow specific tags in HTML generated by a PHP Markdown parser

Learn how to prevent XSS attacks and remove disallowed html nodes from the parsed markdown using a markdown parser library in PHP like Parsedown.

June
15

How to check if an image has transparency using Imagick in PHP

Learn how to verify if an image has transparency with Imagick in PHP.

May
09

How to differentiate (compare) 2 images with Imagick in PHP

Learn how to differentiate 2 images using Imagick with PHP.

April
30

How to add a Watermark to an image with Imagick in PHP

Learn how to add a watermark to your images using Imagick on PHP.

January
16

How to use pngquant with PHP

Learn how to work with pngquant in PHP using a library or plain php.

January
14

How to require a PEAR package with Composer

Learn how to require a PEAR package from composer easily.

January
06

How to minify Javascript and CSS using PHP

Learn how to minify optimally your Javascript and CSS code using PHP

January
03

How to install and enable the Imagick extension in XAMPP for Windows

Learn how to configure the Imagick extension in XAMPP for Windows.

December
29

How to create with Github your first PSR-4 composer/packagist package and publish it in Packagist

Learn how to create and publish your first composer package in Packagist.

November
29

How to solve PHP cURL Warning: curl_set_opt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set

Learn how to deal with the tedious CURLOPT_FOLLOWLOCATION issue using cURL in PHP

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.