1 comments / September 12, 2016

Best way to get facebook like/share count after fql depreciation - PHP

So FQL depreciated after August 7,2016. What are you going to do if you have used FQL to get facebook like / share count in your webpage. This trick will get you those numbers without using any app. This is the best alternative to get facebook like / share count after fql depreciation.

0 comments / August 31, 2016

What is binary safe functions in php

In PHP, Some functions are marked as binary safe functions. It means that the functions works correctly even when you pass binary data. Ex: A string containing non-ascii bytes, null bytes etc..

0 comments / August 05, 2016

How to find & replace a string in multiple files recursively using sed

I had to replace a string in multiple files in one of my project and i have to do it recursively because the files in the inner directories also contains that word. I intented to do this using sed command in linux, rather than going for the options available in the editor.

0 comments / July 28, 2016

Cannot find autoconf Please check your autoconf installation

Recently i tried to install development version lampp. While running phpize command during the installation, i got "Cannot find autoconf Please check your autoconf installation" and the $PHP_AUTOCONF environment variable.

0 comments / July 28, 2016

configure: error: no acceptable C compiler found in $PATH

This error usually occurs when you installing a program and its missing gcc compiler location in the $PATH variable, one of dependencies for the program you are installing.

0 comments / July 26, 2016

How to delete multiple files containing certain string/extension linux

As we seen in our previous articles we can use grep command in combination with two other commands to delete multiple files which has certain string in the file name or same extension in linux.

0 comments / July 24, 2016

Serve svg images as svg instead of plain text

User agents such as browsers use media types to determine how the content should be processed. When a svg image is not served with correct MIME type in the content type header, It might not rendered as intended by the author.