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


1 comments / July 22, 2016

Solved: Disable google weblight for your website

Google weblight is a google service, which shows the compressed view of the webpages listed in the search results when a slow network is detected. It removes websites default styles and js files, So user can view the webpage much quicker. But it can be disabled by setting cache control header to no transform.


0 comments / July 17, 2016

Get string between parentheses or brackets

We can easily get the string between parentheses or brackets using regular expression. This regular expression can be applied in any programming language / scripts like php, javascript,java,perl,python,c#,asp etc.


0 comments / July 14, 2015

What is sessions in php

Sessions are simple arrays used to store some information and the values can be used throught the project / website


0 comments / July 07, 2015

Create dynamic variables name in php

We can dynamically create a variable name based on the other variable value! It is a concept called PHP Variable variables. It might be useful at certain cases, lets see how we do it.


0 comments / June 29, 2015

Regex check minimum and maximum length

Using Regular expression( Regex ), We can check whether the given string has minimum no. of characters or whether it is inside specified range etc.