Liebe/-r Experte/-in,
wo liegt hier der fehler begraben? koennten sie mir das eventuell korrigieren?
<?php //==============//CONFIGURATION //============== //IMPORTANT!! //Put in your email address below: $to = '[[email protected]](mailto:[email protected])'; //============== //CONFIGURATION - ENDE //============== //User info (DO NOT EDIT!) $name = stripslashes($\_POST['name']); $email = stripslashes($\_POST['email']); $vorname = stripslashes($\_POST['vname']); $plz = stripslashes($\_POST['plz']); $ort = stripslashes($\_POST['ort']); $str = stripslashes($\_POST['str']); $mitglied = stripslashes($\_POST['mitglied']); $land = stripslashes($\_POST['land']); //The subject $subject = "[Webseite] Kontaktformular"; //The default subject. Will appear by default in all messages. Change this if you want. $subject .= stripslashes($\_POST['subject']); // the subject //The message you will receive in your mailbox //Each parts are commented to help you understand what it does exaclty. //YOU DON'T NEED TO EDIT IT BELOW BUT IF YOU DO, DO IT WITH CAUTION! $msg = "From : $name \r\n"; $msg .= "e-Mail : $email \r\n"; $msg .= "Name : $name \r\n"; $msg .= "Vorname : $vorname \r\n"; $msg .= "Straße : $str\r\n"; $msg .= "PLZ : $plz \r\n"; $msg .= "Ort : $ort \r\n"; $msg .= "Land : $land \r\n"; $msg .= "Migliedschaft : $mitglied \r\n\n"; $msg .= "---Nachricht--- \r\n".stripslashes($\_POST['message'])."\r\n\n"; //the message itself //Extras: User info (Optional!) //Delete this part if you don't need it //Display user information such as Ip address and browsers information... $msg .= "---User information--- \r\n"; //Title $msg .= "User IP : ".$\_SERVER["REMOTE\_ADDR"]."\r\n"; //Sender's IP $msg .= "Browser info : ".$\_SERVER["HTTP\_USER\_AGENT"]."\r\n"; //User agent // END Extras ?\> window.addEvent('domready', function(){check = new FormCheck('third', { display : { fadeDuration : 500, errorsLocation : 1, indicateErrors : 1, showErrors : 1 } })}); <?php if ($_SERVER['REQUEST_METHOD'] != 'POST'){
$self = $\_SERVER['PHP\_SELF']; ?\> \* Name : \* Vorname : \* Straße / Nr : \* PLZ : \* Ort : \* Land : AfghanistanÅland IslandsAlbaniaAlgeriaAmerican SamoaAndorraAngolaAnguillaAntarcticaAntigua and BarbudaArgentinaArmeniaArubaAustraliaAustriaAzerbaijanBahamasBahrainBangladeshBarbadosBelarusBelgiumBelizeBeninBermudaBhutanBoliviaBosnia and HerzegovinaBotswanaBouvet IslandBrazilBritish Indian Ocean territoryBrunei DarussalamBulgariaBurkina FasoBurundiCambodiaCameroonCanadaCape VerdeCayman IslandsCentral African RepublicChadChileChinaChristmas IslandCocos (Keeling) IslandsColombiaComorosCongoCongo, Democratic RepublicCook IslandsCosta RicaCôte d'Ivoire (Ivory Coast)Croatia (Hrvatska)CubaCyprusCzech RepublicDenmarkDjiboutiDominicaDominican RepublicEast TimorEcuadorEgyptEl SalvadorEquatorial GuineaEritreaEstoniaEthiopiaFalkland IslandsFaroe IslandsFijiFinlandFranceFrench GuianaFrench PolynesiaFrench Southern TerritoriesGabonGambiaGeorgiaGermanyGhanaGibraltarGreeceGreenlandGrenadaGuadeloupeGuamGuatemalaGuineaGuinea-BissauGuyanaHaitiHeard and McDonald IslandsHondurasHong KongHungaryIcelandIndiaIndonesiaIranIraqIrelandIsraelItalyJamaicaJapanJordanKazakhstanKenyaKiribatiKorea (north)Korea (south)KuwaitKyrgyzstanLao People's Democratic RepublicLatviaLebanonLesothoLiberiaLibyan Arab JamahiriyaLiechtensteinLithuaniaLuxembourgMacaoMacedonia, Former Yugoslav Republic OfMadagascarMalawiMalaysiaMaldivesMaliMaltaMarshall IslandsMartiniqueMauritaniaMauritiusMayotteMexicoMicronesiaMoldovaMonacoMongoliaMontenegroMontserratMoroccoMozambiqueMyanmarNamibiaNauruNepalNetherlandsNetherlands AntillesNew CaledoniaNew ZealandNicaraguaNigerNigeriaNiueNorfolk IslandNorthern Mariana IslandsNorwayOmanPakistanPalauPalestinian TerritoriesPanamaPapua New GuineaParaguayPeruPhilippinesPitcairnPolandPortugalPuerto RicoQatarRéunionRomaniaRussian FederationRwandaSaint HelenaSaint Kitts and NevisSaint LuciaSaint Pierre and MiquelonSaint Vincent and the GrenadinesSamoaSan MarinoSao Tome and PrincipeSaudi ArabiaSenegalSerbiaSeychellesSierra LeoneSingaporeSlovakiaSloveniaSolomon IslandsSomaliaSouth AfricaSouth Georgia and the South Sandwich IslandsSpainSri LankaSudanSurinameSvalbard and Jan Mayen IslandsSwazilandSwedenSwitzerlandSyriaTaiwanTajikistanTanzaniaThailandTogoTokelauTongaTrinidad and TobagoTunisiaTurkeyTurkmenistanTurks and Caicos IslandsTuvaluUgandaUkraineUnited Arab EmiratesUnited KingdomUnited States of AmericaUruguayUzbekistanVanuatuVatican CityVenezuelaVietnamVirgin Islands (British)Virgin Islands (US)Wallis and Futuna IslandsWestern SaharaYemenZaireZambiaZimbabwe\* Email : \* Mitgliedschaft : -- Bitte wählen --EinzelmitgliedschaftFamilienmitgliedschaftPassivmitgliedAktivmitgliedKollektivmitgliedBeratung erwünschtErstgespräch erwünscht persönliche Nachricht : \* Spamschutz : 3 + 3 = ??? <?php } else {
error\_reporting(0); if (mail($to, $subject, $msg, "From: $email\r\nReply-To: $email\r\nReturn-Path: $email\r\n")) //Message sent! //It the message that will be displayed when the user click the sumbit button //You can modify the text if you want echo nl2br(" Glückwunsch!! Vielen Dank, ihre Nachricht wurde versendet. "); else // Display error message if the message failed to send echo " Fehler!! Entschuldigung, Ihre Nachricht wurde nicht gesendet, bitte versuchen Sie es später noch einmal! "; } ?\>