Debug line added if is not an array
[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 ?>