Tuesday, January 22, 2013

What is your favorite mobile operating system? - Results

On December 31st 2012, the poll "What is your favorite mobile operating system?" closed! There was 21 votes to indicate the favorite mobile operating system .

I have to say that I am not surprised for Android's votes but I am very surprised with Windows Phone's votes. Is Windows Phone ahead of Mac iOS? That I was not expected for!!!

Friday, January 4, 2013

How to return a page before current

To create a link "Back" that allow come back to previous page before current, I use a variable called $_SERVER['HTTP_REFERER']. Hereafter, you will see a example:

...
<body>
  ...
  <a href="<?php echo $_SERVER['HTTP_REFERER']?>">Back</a>
  ...
</body>
...

Be careful when you refresh the page!