title: PHP - Generic user friendly error messages
body: <p>As the moment, I have the following on my PHP pages:</p>
  
  <pre><code>error_reporting( E_ALL | E_STRICT );
  ini_set('display_errors', 1);
  </code></pre>
  
  <p>Is there a recommended way of replacing this with a more user friendly message when something goes wrong?  But as the same time, record the error on the server somewhere?</p>
  
  <p>So instead of displaying an full error message, I just want the user to know that something has gone wrong, and it will be corrected ASAP.  Where the full error that occurred gets recorded in the background without showing it to the user.</p>