Identify With Your Domain Name

Use common sense when choosing a domain name because your domain name, or URL, can have an impact in both the online and offline marketing of your web-site. Long or difficult to spell domain names can make people ignore your web site and it has to be pretty good for them to stick with it (for an example, go to website. Short domain names register better with people’s memory and are easy to remember.

Continue reading “Identify With Your Domain Name”


Install PHP5.6 Under Windows Server 2012 IIS 8

I think this may help you;

The process is:

A  – Download the latest zip distribution for windows from

B – Unzip the archive under c:Php

C – Update your php.ini file: – Configure CGI- and FastCGI settings in your php.ini such as

Fastcgi.impersonate = 1
fastcgi.logging = 0
cgi.fix_pathinfo = 1
cgi.force_redirect = 0

D - Then in Windows type inetmgr into run under the start menu.

E – Select the server node in the window that opens which is in the connections tree.


F – In the central pane, known as the features view, openthe Handler Mappings feature.

2 - Copy

F1 – In the actions pane click **Add Module Mapping…”

G – Use these details to fill in the blanks;

Request path: *.php
Module: FastCgiModule
Executable: C:[path to php install]php-cgi.exe
Name: PHP_via_FastCGI
1 - Copy

G2 – Click request restrictions and then configure the mapping to invoke handler only if request is mapped to a file or folder.

G3 – Click okay on all dialogues to save the config.

You should restart IIS once you’re done.


PS: If you encounter the following error:

The program can’t start because MSVCR110.dll is missing from your computer. Try reinstalling the problem to fix this problem.

you will need VS C++ 2012 (not 2010 as advertised). Go here:

You need to download the x86 version (if you install the 64bit version it will give the same error)

How to populate two drop-downs in JQuery with to/from dates

If you ever need to populate two sets of drop-downs with the from and to hours, use the following script in your head section:

        $(document).ready(function () {
            var i = 0;

            for (var i = 0; i var ampm = i % 24 'AM' : 'PM';

                var hours = i % 12;
                if ((hours === 0) && (i!=0)) {
                    hours = 12;
                var valueString = ("0" + hours.toString()).slice(-2) + " " + ampm;

                        .attr('value', i)
                        .attr('value', i)
            for (var i = 0; i var valueString = ("0" + i.toString()).slice(-2);

                        .attr('value', i)
                        .attr('value', i)

Output will be two sets of drop-downs with “From and To Times”

How to send Push Notifications using PHP / Google Android

Google Cloud Messaging (GCM) for Android is a service that allows you to send data from your server to your users’ Android-powered device, and also to receive messages from devices on the same connection. The GCM service handles all aspects of queueing of messages and delivery to the target Android application running on the target device, and it is completely free.

The only thing you will need is a Google_Api_key:

To create a Google API project:

  1. Open the Google Developers Console.
  2. If you haven’t created an API project yet, click Create Project.
  3. Supply a project name and click Create.Once the project has been created, a page appears that displays your project ID and project number. For example, Project Number: 670330094152.
  4. Copy down your project number. You will use it later on as the GCM sender ID.

To obtain an API key:

  1. In the sidebar on the left, select APIs & auth > Credentials.
  2. Under Public API access, click Create new key.
  3. In the Create a new key dialog, click Server key.
  4. In the resulting configuration dialog, supply your server’s IP address. For testing purposes, you can use0.0.0.0/0.
  5. Click Create.
  6. In the refreshed page, copy the API key. You will need the API key later on to perform authentication in your app server.

Continue reading “How to send Push Notifications using PHP / Google Android”