ee26d4a30ee9e9daf158a4af2c456af9fe363f61
[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  * $Revision:: 856                                                    $ *
14  * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
15  * $Tag:: 0.2.1-FINAL                                                 $ *
16  * $Author:: stelzi                                                   $ *
17  * Needs to be in all Files and every File needs "svn propset           *
18  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
19  * -------------------------------------------------------------------- *
20  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
21  * For more information visit: http://www.mxchange.org                  *
22  *                                                                      *
23  * This program is free software; you can redistribute it and/or modify *
24  * it under the terms of the GNU General Public License as published by *
25  * the Free Software Foundation; either version 2 of the License, or    *
26  * (at your option) any later version.                                  *
27  *                                                                      *
28  * This program is distributed in the hope that it will be useful,      *
29  * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
30  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
31  * GNU General Public License for more details.                         *
32  *                                                                      *
33  * You should have received a copy of the GNU General Public License    *
34  * along with this program; if not, write to the Free Software          *
35  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
36  * MA  02110-1301  USA                                                  *
37  ************************************************************************/
38
39 print "<pre>";
40 debug_print_backtrace();
41 die("</pre>");
42
43 echo "<html>
44 <head>
45 <title>Protected file ".basename($_SERVER['PHP_SELF'])." - ACCESS DENIED!</title>
46 </head>
47 <body bgcolor=\"#880000\" text=\"#FFFFFF\">
48 <div align=\"center\">
49 <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
50 <tr>
51   <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>
52 </tr>
53 <tr><td height=\"10\"></td></tr>
54 <tr>
55   <td align=\"center\">
56     You have tried to open a protected file! Your access has been logged in the server's logfile with your IP number:
57   </td>
58 </tr>
59 <tr><td height=\"10\"></td></tr>
60 <tr>
61   <td align=\"center\">
62     <strong>".GET_REMOTE_ADDR()."</strong>
63   </td>
64 </tr>
65 </table>
66 </div>
67 </body>
68 </html>\n";
69 exit;
70 //
71 ?>