Email-Direkt: Andreas Wilcek Bernd Wilcek Gerda Wilcek Matthias Wilcek Michael Wilcek Oliver Wilcek Peter Alexander Wilcek Vanessa Wilcek Franziska Sopfie Böse webmaster |
Partner-Seiten: Elmstreet Soft Aktuelles -->BeOS Projekt -->PHP-Projekt -->INet-Projekt WILCEK-MUSIK TIMELESS ABRAXSAX CCR-RevivalBand MUSIKHAUS-WILCEK syntel-studio ROYCEMUSIC Musical Unlimitid Franziska Böse |
Counter /* ******************* */ /* SAVEFORMAT = UNIX */ /* ******************* */ function esm_mail($to,$betr,$tx) { //echo "\r\n"; $x2a=substr_count($tx,"*"); //echo "$x2a zu ersetzende Sternchen [ACSII 42|2A] "; $tx = str_replace("*"," ",$tx); $bodytyp="plain"; if(strstr($tx," ") OR strstr($tx," ")) { $tx = str_replace(" "," ",$tx); $tx = str_replace(chr(13)," ",$tx); $tx = str_replace(chr(10)," ",$tx); $hmt=$tx; $tx = " $hmt\n"; $bodytyp="html"; } //$to="aw@wilcek.net"; $header=headerfor($bodytyp,'Andreas.W','andreas@wilcek.net'); sendm($to,$betr,$tx,$header); } // - - - - - // - - - - function headerfor($ty,$nick,$rpl) { $header="From:$nick<$rpl>\n"; $header .= "Reply-To: $rpl\n"; $header .= "X-Mailer: PHP/" . phpversion(). "\n"; $header .= "Mime-Version: 1.0\n"; $header .= "Content-Type: text/$ty;\n"; //$header .= "Content-Type: text/plain; charset=\"iso-8859-1\"\n"; //$header .= "Content-Transfer-Encoding: 7bit\n"; return $header; } /*----------------------*/ function sendm($yto,$ybetr,$ybody,$yheader) { // echo "\r\n"; if(@mail($yto,$ybetr,$ybody,$yheader)) { echo "\r\n";} else { $ybody = str_replace("_"," ",$ybody); $ybody = str_replace(chr(13)," ",$ybody); $comefrom=@GetEnv('HTTP_REFERER'); echo "\r\n"; } } /*----------------------*/ /*----------------------*/ /*----------------------*/ ?> |