No data was sent by POST or GET method

I have tried endlessly to get formmail.php set up and keep getting this error... ? Nothing was sent by a form. (No data was sent by POST or GET method.) There is nothing to process here.

Here is form I'm using url: http://206.39.246.198/NTIP/open_skies/poc_form.shtm
and here is how I set formmail.php up

$referers = array$referers = array("206.39.246.198");

$valid_env = array("REMOTE_HOST", "REMOTE_ADDR", "REMOTE_USER", "HTTP_USER_AGENT");

$recipient_array = array(1 => 'eric.purdue@myemail.com');

I also spoke with the server admin to make sure the following 2 values were setup in the php.ini file

ini_set("SMTP","mail.oursmtpserver.com");
ini_set("smtp_port","25");

here is a copy of my form code

Treaty POC Name

POC Phone

POC Fax

POC Email

Duty Phone

Duty Fax

Duty Email

Senior Watch Officer Name

Senior Watch Officer Phone

Senior Watch Officer Fax

Senior Watch Officer Email

Commanding Office Name

Commanding Office Phone

Commanding Office Fax

Commanding Office Email

DSN

PLAD

I'm not an expert with scripting quite and I'm BAFFLED. What am I missing?

By ericpurdue on

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

No data was sent by POST or GET method

wow 22 views and not a single idea.

Does anyone know if you can just use an ip address instead of a domain name? That is the only thing that I can think of that would cause the problem.

im having the same problem, i

im having the same problem, i have the domain and the ip listed in the array... doesnt make a difference... This crap is way to complicated for what im trying to get accomplished... Send a form to an email i mean come on!! anyone ever figure this problem out?

I've had no problems setting

I've had no problems setting the script up on a Linux server.  I received the error message as soon as I moved my site to a Windows server. 

Stalk me!

Recommended Reading