Fehlerbereinigung #1
2
get.php
2
get.php
@ -40,7 +40,7 @@ require('config.inc.php');
|
|||||||
$filter = $_GET["filter"];
|
$filter = $_GET["filter"];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($_SESSION["lastupdate"])) $_SESSION["lastupdate"];
|
if (!isset($_SESSION["lastupdate"])) $_SESSION["lastupdate"]="";
|
||||||
if (!isset($show_filter)) $show_filter="";
|
if (!isset($show_filter)) $show_filter="";
|
||||||
|
|
||||||
if( $show_filter == 1 && $_SESSION["lastupdate"] == "" && !isset($_GET["clean"]) ) {
|
if( $show_filter == 1 && $_SESSION["lastupdate"] == "" && !isset($_GET["clean"]) ) {
|
||||||
|
13
testmail.php
Normal file
13
testmail.php
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$body = ("--------------------------------------------------------\n"
|
||||||
|
."Testmail"
|
||||||
|
."--------------------------------------------------------\n"
|
||||||
|
."Dies ist eine automatische Info-EMail. \n"
|
||||||
|
."--------------------------------------------------------");
|
||||||
|
$xtra = "From: monitor@fire-devils.org (Monitor)\n";
|
||||||
|
$xtra .= "Content-Type: text/plain; charset=UTF-8\n";
|
||||||
|
$xtra .= "MIME-Version: 1.0\n";
|
||||||
|
$xtra .= "Content-Transfer-Encoding: 8bit\n";
|
||||||
|
$xtra .= "X-Mailer: PHP ". phpversion();
|
||||||
|
mail("manuelweiser@me.com", "Monitor Alarm Testmail ", $body, $xtra);
|
Loading…
Reference in New Issue
Block a user