]> git.mxchange.org Git - mailer.git/blobdiff - inc/security.php
A lot code refactured to newly introduces wrapper function isNicknameUsed()
[mailer.git] / inc / security.php
index 6e7c022ffcfa7d2d21476b2284581b91f3b614bd..1c2245aebb494810d5cd5231a7fa633fc2d5f15f 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Zugriff verweigert!                              *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -35,32 +40,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\">
-    <strong>".GET_REMOTE_ADDR()."</strong>
-  </TD>
-</TR>
-</TABLE>
+  </td>
+</tr>
+<tr><td height=\"10\"></td></tr>
+<tr>
+  <td align=\"center\">
+    <strong>".detectRemoteAddr()."</strong>
+  </td>
+</tr>
+</table>
 </div>
-</BODY>
-</HTML>\n";
-exit();
+</body>
+</html>\n";
+shutdown();
 //
 ?>