More variables renamed to , install/admin_WriteData() is now generic (with open TODO)
[mailer.git] / inc / security.php
1 <?php
2 /************************************************************************
3  * MXChange v0.2.1                                    Start: 09/05/2003 *
4  * ===============                              Last change: 11/10/2004 *
5  *                                                                      *
6  * -------------------------------------------------------------------- *
7  * File              : security.php                                     *
8  * -------------------------------------------------------------------- *
9  * Short description : Access denied!                                   *
10  * -------------------------------------------------------------------- *
11  * Kurzbeschreibung  : Zugriff verweigert!                              *
12  * -------------------------------------------------------------------- *
13  *                                                                      *
14  * -------------------------------------------------------------------- *
15  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
16  * For more information visit: http://www.mxchange.org                  *
17  *                                                                      *
18  * This program is free software; you can redistribute it and/or modify *
19  * it under the terms of the GNU General Public License as published by *
20  * the Free Software Foundation; either version 2 of the License, or    *
21  * (at your option) any later version.                                  *
22  *                                                                      *
23  * This program is distributed in the hope that it will be useful,      *
24  * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
25  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
26  * GNU General Public License for more details.                         *
27  *                                                                      *
28  * You should have received a copy of the GNU General Public License    *
29  * along with this program; if not, write to the Free Software          *
30  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
31  * MA  02110-1301  USA                                                  *
32  ************************************************************************/
33
34 print "<pre>";
35 debug_print_backtrace();
36 die("</pre>");
37
38 echo "<html>
39 <head>
40 <title>Protected file ".basename($_SERVER['PHP_SELF'])." - ACCESS DENIED!</title>
41 </head>
42 <body bgcolor=\"#880000\" text=\"#FFFFFF\">
43 <div align=\"center\">
44 <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
45 <tr>
46   <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>
47 </tr>
48 <tr><td height=\"10\"></td></tr>
49 <tr>
50   <td align=\"center\">
51     You have tried to open a protected file! Your access has been logged in the server's logfile with your IP number:
52   </td>
53 </tr>
54 <tr><td height=\"10\"></td></tr>
55 <tr>
56   <td align=\"center\">
57     <strong>".GET_REMOTE_ADDR()."</strong>
58   </td>
59 </tr>
60 </table>
61 </div>
62 </body>
63 </html>\n";
64 exit();
65 //
66 ?>