Loading Gif

PHP

php

  • blog-header
    10Feb2015

    How to check if your server is 32 or 64 bit using PHP

    Heres a little script I find useful for working out if your server is 32 bit or 64 bit. I know you should know that already but sometimes its harder to work out than you think. Especially if you are using cheap hosting or the like. The PHP //work out if a server is 32 or 64 bit function get_server_bit(){ $int = \"9223372036854775807\"; $int = ...

    Read more
  • facebook-code-header
    05May2013

    How to test if your facebook page tab is using https or http protocol using php

    I spent hours the other day searching and searching the facebook SDK documentation for the ability to detect the dreaded https mode in facebook custom tabs. Anyone who has tried to find anything useful or up to date in the Facebook docs will know how hard it can be to find anything of use on the facebook developer pages. After ...

    Read more
  • facebook-code-header
    12Sep2012

    How to pass variables into your facebook custom page tab

    Have you ever written a facebook app or custom page and needed to pass a variable into the app via a query string? To be honest its a nightmare, and a lot harder than it should be (as will all things facebook related) but the good news is... it is possible. And here\'s how...

    Read more
  • facebook-code-header
    07Sep2012

    How to detect if someone likes your facebook page

    How many times have you seen those facebook apps and custom pages that won\'t let you get to the juicy content until you like the page? Annoying! But clients love it. Here is how you achieve it without asking the user to connect to your app.

    Read more