Category Archives : Webmaster


PHP Display Counter for Facebook Likes, Shares, Comments

Ever wanted to display Facebook’s Likes, Shares, or Comments just as a numerical counter? Well now you can with this simple PHP tutorial. With Facebook’s Legacy FQL API: <?php //The following code returns number of likes, shares, and comments for any Facebook page. function facebook_count($url) { // Query in FQL $fql = “SELECT share_count, like_count, […]


cPanel Installation problem – Detected an installer lock file Error

Symptoms: While performing sh latest command the system stuck with an error message about installer.lock. Beginning main installation. Detected an installer lock file (/root/installer.lock). Please be sure that an installer is not already running. Resolution: You can remove the installer.lock file using this command via ssh rm -rf /root/installer.lock This problem arises while installing cPanel when an […]


URL Decoder/Encoder

<script type=”text/javascript”>document.write(unescape(”   %3Cimg%20src%3D%22http%3A%2F%2Fegadgets4me.com%2Fimages%2Fegadgetslogo.gif%22%3E “));</script> Input a string of text and encode or decode it as you like. Handy for turning encoded JavaScript URLs from complete gibberish into readable gibberish. If you’d like to have the URL Decoder/Encoder for offline use, just view source and save to your hard drive. The URL Decoder/Encoder is licensed […]