1
Line 100 and 101 print:
Error Code: $e_code
ERROR: $errmsg[$e_code]
while it should print a errorcode and message.
change line 100 and 101 from:
le="color: #000000"><?php echo 'Error Code: $e_code<br /><br /><br />'; echo '<strong>ERROR:</strong> $errmsg[$e_code]<br /><br /><br />';
to
le="color: #000000"><?php echo 'Error Code: '.$e_code.'<br /><br /><br />'; echo '<strong>ERROR:</strong> '.$errmsg[$e_code].'<br /><br /><br />';