Sometimes while installing WordPress plugins, you might come across a message to install / enable Mcrypt extension for PHP. Mcrypt is an interface which supports a wide range of block algorithims. It support Algorithims like DES, TripleDES, GOST, OFB etc. Note : The Mcrypt extension relies on the ‘libmcrypt’ extension, which is not maintained since […]
Category Archives: PHP
If you want to upgrade your PHP 5.3 to PHP 5.6 running on Ubuntu 12.04 with nginx, you need to follow these steps : Step 1: Add the PPA repository for PHP 5.6 sudo add-apt-repository ppa:ondrej/php If you are logged in as the root user, you can leave out ‘sudo’ from the above command If […]
PHP 7 was released in December 2015. A stable version of PHP 7 is now out and has been getting a good response from the development community. Some of the key new features / improvements in PHP 7 are : 1. Performance The performance of PHP 7 has almost doubled that of PHP 5.6. The […]
GeoIP is a PHP extension, which is used to get all the information like, city, state, country, longitude / latitude etc for any IP address. You can use this extension to track the visitors to your site. It can help you prepare better analytic for your user-base with the information collected. To install GeoIP, we […]
If you wish to pass PHP POST array variables without submitting a form, using the PHP Curl library to another URL, you first need to have a an Array which holds all the values for the POST array $post[‘lname’] = ‘Last name’; $post[‘fname’] = ‘First Name’ $post[‘mail’] = ‘[email protected]’; Once we have the array set, […]