Installing ImageMagick for PHP on Ubuntu

iMagick is a wrapper class, wrapping the most common web image manipulation actions in easy to use functions, but allowing full access to iMagick’s power by issuing system calls to it’s command-line programs. There is no proper documentation for Installing ImageMagick for PHP on Ubuntu or any other LINUX based systems. Here is some simple steps for enabling ImageMagick library to work with PHP. Also there is no need to worry for MagickWand. iMagick will do everything for you.

• • •

How To Get Current Page URL In PHP

Sometimes, you might want to get the current page URL that is shown in the browser URL window. For example if you want to let your visitors submit a blog post to Digg you need to get that same exact URL. There are plenty of other reasons as well. Here is how you can get current url in php.

• • •

Display Unsupported Image Formats In Browser

Most of the browsers do not support most of the image file types rather than some common file types like JPG, PNG and GIF. But in most of the web projects user need to upload some most used file types like PSD, PDF ( Unsupported image formatsĀ ) etc. and they need to see what they have uploaded is perfect or not.

• • •