PHP check whether image exists on remote URL

February 12, 2014

The simplest and fastest way is to use curl if your host supports curl.

PHP – How to check if variable is an array?

February 12, 2014

PHP has an internal variables handling functions to finds whether a variables is an array Another fastest way of determining an array is by: Cast the value to an array, then check using (===) if it is identical to the original.

PHP obfuscated or hide part of the email address

January 17, 2014

I wrote my own function for one of the project to display first 3 characters and last characters before the @. In between the first and last 3 characters, put in 3 star (*). So, this is how it looks like

How to prevent single words or long URL’s From Breaking Out of Container

January 17, 2014

Css try: word-wrap: break-word; For more robust browser support: -ms-word-break: break-all; word-break: break-all; /* Non standard for webkit */ word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto;