Fixes for stripped HTML tags, and false warnings in debug log
[mailer.git] / inc / security.php
index 6e7c022ffcfa7d2d21476b2284581b91f3b614bd..4ac542e47c092ea045ad550f564b02ffae31dc5e 100644 (file)
@@ -35,32 +35,32 @@ print "<pre>";
 debug_print_backtrace();
 die("</pre>");
 
-echo "<HTML>
-<HEAD>
-<TITLE>Protected file ".basename($_SERVER['PHP_SELF'])." - ACCESS DENIED!</TITLE>
-</HEAD>
-<BODY bgcolor=\"#880000\" text=\"#FFFFFF\">
+echo "<html>
+<head>
+<title>Protected file ".basename($_SERVER['PHP_SELF'])." - ACCESS DENIED!</title>
+</head>
+<body bgcolor=\"#880000\" text=\"#FFFFFF\">
 <div align=\"center\">
-<TABLE border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
-<TR>
-  <TD align=\"center\"><u><strong><BIG><BIG>A&nbsp;C&nbsp;C&nbsp;E&nbsp;S&nbsp;S&nbsp;&nbsp;&nbsp;D&nbsp;E&nbsp;N&nbsp;I&nbsp;E&nbsp;D&nbsp;!</BIG></BIG></strong></u></TD>
-</TR>
-<TR><TD height=\"10\"></TD></TR>
-<TR>
-  <TD align=\"center\">
+<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
+<tr>
+  <td align=\"center\"><u><strong><big><big>A&nbsp;C&nbsp;C&nbsp;E&nbsp;S&nbsp;S&nbsp;&nbsp;&nbsp;D&nbsp;E&nbsp;N&nbsp;I&nbsp;E&nbsp;D&nbsp;!</big></big></strong></u></td>
+</tr>
+<tr><td height=\"10\"></td></tr>
+<tr>
+  <td align=\"center\">
     You have tried to open a protected file! Your access has been logged in the server's logfile with your IP number:
-  </TD>
-</TR>
-<TR><TD height=\"10\"></TD></TR>
-<TR>
-  <TD align=\"center\">
+  </td>
+</tr>
+<tr><td height=\"10\"></td></tr>
+<tr>
+  <td align=\"center\">
     <strong>".GET_REMOTE_ADDR()."</strong>
-  </TD>
-</TR>
-</TABLE>
+  </td>
+</tr>
+</table>
 </div>
-</BODY>
-</HTML>\n";
+</body>
+</html>\n";
 exit();
 //
 ?>