0 comments / October 04, 2017

How to get current url in javascript

Javascript provides multiple methods to get current url which is displayed in the browser address bar and all these methods relies on window.location.


4 comments / January 11, 2017

Whatsapp share link with image in websites

While sharing a website link in whatsapp, have you ever seen how it a shows rich preview of the page with a image and description?? This post will show how to do it for your website.


6 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.