form not posting

We have a Debian Linux server with Apache2. One page, feedback.php has a super-simple form:

[code]

Compliment

Complaint

General










[/code] This form posts back to itself, and handles it like this:

PHP Code:

session_start();

if ($_SERVER['REQUEST_METHOD'] == 'POST') {
if (isset($_POST['type'])) {
$_SESSION['type'] = $_POST['type'];
//echo $_SERVER['REQUEST_METHOD'];
header('Location: form.php');
}
else {
$error = 'You must select a comment type to begin';
}
}

However, when form.php loads, $_POST, $_GET, or $_REQUEST are all empty arrays. What could cause this?

Thanks!

Sponsor our Newsletter | Privacy Policy | Terms of Service