I would like to assign Error Codes to my Error Messages to help with debugging, since two different sources could cause the same/similar Error Type.
Is it insecure to display an Error Code to the User?
// Missing Salt.
echo '<h1>Password Change Failed</h1>';
echo '<p>A Fatal Error occurred. Please contact the System Administrator. <font color='"#FF0000"'>[B](5589)[/B]</font></p>';
And, yeah, I could take them out when I go live, but if they don't give away to much info to hackers, then I'd assume leave them in.
But what do you think?