I have my contact forms and driver profile submit forms on my website but whenever a user or myself tries to use them they ask what to do with the php script eg save or open. why is this happening. this can be found at [a href=\"http://media.mackaykarting.com/Profiles/\" target=\"_blank\"]http://media.mackaykarting.com/Profiles/[/a] P.S. i am new to php and dont really know much about this the code i have is <?php // Website Contact Form Generator // [a href=\"http://www.tele-pro.co.uk/scripts/contact_form/\" target=\"_blank\"]http://www.tele-pro.co.uk/scripts/contact_form/[/a] // This script is free to use as long as you // retain the credit link // get posted data into local variables $EmailFrom = Trim(stripslashes($_POST['EmailFrom'])); $EmailTo = "adam@mackaykarting.com"; $Subject = "Driver_profile"; $Name = Trim(stripslashes($_POST['Name'])); $classes_raced = Trim(stripslashes($_POST['classes_raced'])); $Age = Trim(stripslashes($_POST['Age'])); $Make_of_kart = Trim(stripslashes($_POST['Make_of_kart'])); $racing_number = Trim(stripslashes($_POST['racing_number'])); $Most_respected_competitor = Trim(stripslashes($_POST['Most_respected_competitor'])); $career_highlights = Trim(stripslashes($_POST['career_highlights'])); $driving_ambitions = Trim(stripslashes($_POST['driving_ambitions'])); $how_long_karting = Trim(stripslashes($_POST['how_long_karting'])); $other_comments = Trim(stripslashes($_POST['other_comments'])); $agree = Trim(stripslashes($_POST['agree'])); // validation $validationOK=true; if (Trim($EmailFrom)=="") $validationOK=false; if (!$validationOK) { print "<meta http-equiv=\"refresh\" content=\"0;URL=error.htm\">"; exit; } // prepare email body text $Body = ""; $Body .= "Name: "; $Body .= $Name; $Body .= "\n"; $Body .= "classes_raced: "; $Body .= $classes_raced; $Body .= "\n"; $Body .= "Age: "; $Body .= $Age; $Body .= "\n"; $Body .= "Make_of_kart: "; $Body .= $Make_of_kart; $Body .= "\n"; $Body .= "racing_number: "; $Body .= $racing_number; $Body .= "\n"; $Body .= "Most_respected_competitor: "; $Body .= $Most_respected_competitor; $Body .= "\n"; $Body .= "career_highlights: "; $Body .= $career_highlights; $Body .= "\n"; $Body .= "driving_ambitions: "; $Body .= $driving_ambitions; $Body .= "\n"; $Body .= "how_long_karting: "; $Body .= $how_long_karting; $Body .= "\n"; $Body .= "other_comments: "; $Body .= $other_comments; $Body .= "\n"; $Body .= "agree: "; $Body .= $agree; $Body .= "\n"; // send email $success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>"); // redirect to success page if ($success){ print "<meta http-equiv=\"refresh\" content=\"0;URL=ok.htm\">"; } else{ print "<meta http-equiv=\"refresh\" content=\"0;URL=error.htm\">"; } ?>