Category Archives: php

HOWTO use PHP getallheaders() under FastCGI (PHP-FPM, nginx, etc.)

If you use Nginx, PHP-FPM or any other FastCGI method of running PHP you’ve probably noticed that the function getallheaders() does not exist. Continue reading

Posted in How Tos, php, Programming | 3 Comments

HOW TO Install mcrypt for PHP on RedHat Linux 6 and Oracle Linux 6

This tutorial shows you how to install libmcrypt and the companion PHP module under RedHat Linux 6 and Oracle Linux 6. By default, RHEL and OL do not provide mcrypt or libmcrypt packages for the 6.x release. Subsequently, they don’t … Continue reading

Posted in Apache, gcc, How Tos, libmcrypt, linux, mcrypt, Oracle Linux, php, Programming, redhat, Unix | 1 Comment

HOW TO Use Multiple Filter Flags in PHP Filter Functions

Using multiple filter flags in PHP is easy, but the documentation does not explain it well. The Filter capabilities in PHP 5.3 and above are very powerful and save a ton of effort, but the passing of flags to various … Continue reading

Posted in How Tos, php, Programming | 2 Comments