doh... I changed the '$GET' to a '$POST' and the closing '}' was further down in the code, but it still doesn't work. Here is the rest of the code:
if(isset($POST['submit'])) {
while(list($key,$val) = each($POST)) {
$$key = $val;
$key = trim($key);
$key = stripslashes($key);
$key = strip_tags($key);
}
$subject = "Job: " . $POST['position'];
$confirmationMessage = "message";
$SESSION['filePath'] = "url_01";
@mail('matt@ravive.com', $subject, $confirmationMessage);
}
else{
$_SESSION['filePath'] = "url_02";
}
The reason I believe it is freezing IE is because an animated gif on the page stops after clicking the submit button. I'm not sure if it matters or not, but "globals" are disabled.
Thanks