Internet connection is extremely important for live production of a website. Below is code that you can use to check the availability of internet connection in PHP.
It is recommended to use "www.google.com.my" for determining the connection as it is highly unlikely google website will go down compared to other website.
If you are facing any problem on this, don't hesitate to message at Obstrum facebook page.
Hope this tutorial will help those in need :
If you want to get in touch with more tutorial, add me on google+ or like and follow our facebook page for more! Obstrum Facebook Page
EmoticonEmoticon