Installing Docker Toolbox on Windows (Video)

Docker is a very powerful and lightweight virtualization engine that allows you to run any linux machine inside (almost) any host environment. The following tutorial will teach you how to install the ...

Check If Viewed Through Mobile

On many occasions, you may want to check if the current visitor is browsing your site through a mobile browser. There are a lot of solutions out there (classes, libraries), but the simplest option has...

Remove the WordPress Admin Bar

Some developers and admins complain that the new Wordpress admin bar is getting in the way. A few simple lines of code will help you get rid of it quickly....

PHP Function to Check If a Website is Online

PHPAcademy provided this wonderful 2-part tutorial on how to code a short function to check if a given website is online or down currently. Similar functionality can be seen at isup.me....

How to Convert an Array to an Object?

PHP arrays are cool, but if you are switching to the modern coding standards (OOP) you are probably in need of objects more often. PHP provides a very easy way to change the type of a variable from an...

Get the Current URL of Page with PHP

This simple snippet of code will help you get the full URL of the currently viewed page. function getUrl(){ $domain = $_SERVER['HTTP_HOST']; $url = "http://" . $domain . $_SERVER['REQUEST_URI']; retur...