I have now managed to break it! by trying to update it to my own needs,
I have edited the PHP file so that it reads
PHP Code:
<?php
$email = $_REQUEST['email'] ;
$studentname = $_REQUEST['StudentsName'] ;
$parentname = $_REQUEST['parentsname'] ;
$studentdob = $_REQUEST['DOBStudent'] ;
$needforchange = $_REQUEST['needforchange'] ;
$furtherinfo = $_REQUEST['furtherinfo'] ;
mail( "user@domain.com", "Parent Update Form",
$studentname, $parentname, $email, $studentdob, $needforchange, $furtherinfo, "From: $email" ) ;
header( "Location: /Test/thankyou.html" );
?>
I have added the extra requests and put in my email address, but i don't seem to be getting the actual email, although it is going though the script seems to be running fine.
but as far as i can see it is correct
this is what i have editied PHP Code:
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "yourname@example.com", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://www.example.com/thankyou.html" );
?>