PHP 3.0.16
I have a form than takes a users email and submits it to my sub.php. Sub.php checks the email for proper format, and then if correct, sends a "email@address.com has Subscribed" email back to my mail processor. However, if the user incorrectly inputs email, he must try again. Once inputed correctly, the email is sent back home, but is sent once for the correct version, and then is sent again (with the correct address) the same amount of times that a mistake was made (4 input errors + 1 correct input = 5 correct subscription emails).
The code is fine. I think it has something to do with IE6 caching either the php file or the actual email form. However, I'm already including these in my script:
header( "Expires: Mon, 20 Dec 1998 01:00:00 GMT" );
header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
header( "Cache-Control: no-cache, must-revalidate" );
header( "Pragma: no-cache" );
I'm lost... please help.
~Chris