Hi, can someone let me know if this script looks secure. I have tried to take as many security measures as possible (within my coding ability):
<?php
// define variables and set to empty values
$nameErr = $telephoneErr = $emailErr = $detailsErr = $msgStatus = "";
$name = $telephone = $email = $details = "";
// if the button has been pressed
if ($_SERVER["REQUEST_METHOD"] == "POST") {
if (empty($_POST["name"])) {
$nameErr = "Name is required";
} else {
$name = test_input($_POST["name"]);
// check if name only contains