alert(\"Form successfully submitted.\")"; $to = '[email protected]'; $subject = 'Form Submission Notification'; $message = '

Form on the McFurryTek website has been submitted.


Values of the submitted form are to follow.


Entry 1: ' . $entry1 . '
Entry 2: ' . $entry2 . '
Entry 3
(optional):
' . $entry3 . '
Entry 4: ' . $entry4 . '

Thank you for submitting the form.


Sincerely,
Tekie McFurry


E-Mail: [email protected]
Web: https://mcfurrytek.net
'; $addHeaders[] = 'MIME-Version: 1.0'; $addHeaders[] = 'Content-type: text/html; charset=iso-8859-1'; $addHeaders[] = 'From: McFurryTek Automated Form Submission Notifier '; mail ( $to , $subject , $message , implode("\r\n", $addHeaders) ); } function test_input($data) { $data = trim($data); $data = stripslashes($data); $data = htmlspecialchars($data); return $data; } ?>

Test of Forms

">

Entry 1: " name="entry1">

Entry 2: " name="entry2">

Entry 3: " name="entry3">

Entry 4: " name="entry4">