Sorry if I am posting this in the wrong forum.
I have a feedback type form and a PHP file to send an email, but when I click the submit button on the form, I get an error that the php file can't be opened. I tried opening it directly from my uploads folder and get the same error. I named the file suggestion-send.php. Created it with Notepad. I thought maybe that was the issue, so I copied a current PHP file, renamed it and pasted my text into it. Still won't open. I am logged in with an administrator account. This is for a company intranet - not a blog.
If you need the code it is:
<form method="post" name="myemailform" action="http://starthere.boselaw.com/wp-content/uploads/bme-items/suggestion-send.php">
Enter Name: <input type="text" name="name">
Enter Email Address: <input type="text" name="email">
Enter Message: <textarea name="message"></textarea>
<input type="submit" value="Send Form">
$name = $_POST['name'];
$visitor_email = $_POST['email'];
$message = $_POST['message'];
$email_from = 'firstname.lastname@example.org';
$email_subject = "New Form submission";
$email_body = "You have received a new message from the user $name.\n".
"Here is the message:\n $message".
$to = "email@example.com";
$headers = "From: $email_from \r\n";
$headers .= "Reply-To: $visitor_email \r\n";