http://stackoverflow.com/questions/1987579/how-to-remove-warning-messages-in-php