hab mir des erste mal eine e-mail formular gemacht und es sind fehler drin aber wo ??? kann mir jemnad helfen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | <?php defined( 'main' ) or die ( 'no direct access' ); $title = $allgAr [ 'title' ]. ' :: Bewerbung' ; $hmenu = 'Bewerbung Formular' ; $design = new design ( $title , $hmenu ); $design ->header(); if (isset( $_POST [ 'submit' ])){} if (isset( $_POST [ 'agb' ])){ $anrede = escape( $_POST [ 'anrede' ], [ 'string' ]; $vorname = escape( $_POST [ 'vorname' ], [ 'string' ]; if (! empty ( $_POST [ 'anrede' ]) && ! empty ( $_POST [ 'vorname' ])) {wd( 'index.php?bewerbung' , 'Bitte alle * Felder ausfüllen' ,7); $design ->footer(0); } $mailtext = "Anrede: $anrede." /n ".Vorname: $vorname" ; icmail( 'Jason-Forhie@gmx.de' , 'Sponsor' , $mailtext ); wd( 'index.php?bewerbung' , 'Die Mail wurde verschickt.' ,10); } else { wd( 'index.php?bewerbung' , 'Du hast noch nicht bestätigt das du die Mail verschicken willst.' ,5); } $tpl = new tpl( 'sponsor' ); $tpl ->out(0); } $design ->footer(); ?> |