Ich erhalte mit folgendem Code:
diese Fehlermeldungen....
wieso?
Danke schon im voraus
PHP-Code:
<?
$title = "Kontakt Formular";
require_once ( realpath ('inc/config.inc.php') );
if ( isset ( $_GET['action'] ) ) { $action = $_GET['action']; } else { $action = "edit"; }
if ( isset ( $_GET['sendto'] ) ) { $sendto = $_GET['sendto']; } else { $sendto = "webmaster"; }
if ( isset ( $_GET['lastsite'] ) ) { $lastsite = $_GET['lastsite']; } else { $lastsite = "home"; }
if ( isset ( $_POST['errtext'] ) ) { $errtext = $_POST['errtext']; } else { $errtext = ""; }
if ( isset ( $_POST['name'] ) ) { $from_name = $_POST['name']; } else { $from_name = ""; }
if ( isset ( $_POST['email'] ) ) { $from_mail = $_POST['email']; } else { $from_mail = ""; }
if ( isset ( $_POST['subject'] ) ) { $mail_subject = $_POST['subject']; } else { $mail_subject = ""; }
if ( isset ( $_POST['msg'] ) ) { $mail_msg = $_POST['msg']; } else { $mail_msg = ""; }
Code:
Notice: Undefined variable: errtext in /home/tuescher/public_html/prosenectute/contact.php on line 19 Notice: Undefined variable: name in /home/tuescher/public_html/prosenectute/contact.php on line 19 Notice: Undefined variable: email in /home/tuescher/public_html/prosenectute/contact.php on line 19 Notice: Undefined variable: subject in /home/tuescher/public_html/prosenectute/contact.php on line 19 Notice: Undefined variable: msg in /home/tuescher/public_html/prosenectute/contact.php on line 19
Danke schon im voraus
Kommentar