Menu
Hello,
I am using this script:
<?php
$answer = $_REQUEST[‘answer’] ;
$correctanswer = “ANSWER”;
$lasttaskloc = “
$nexttaskloc = “
if (answer == correctanswer) {
header(nexttaskloc);
} else {
header(lasttaskloc);
}
?>
However, when I run this, the page shows a 500 internal server error.
I checked my server logs and I got this error:
[Fri Aug 28 20:23:44 2009] [error] [client 86.161.50.191] FastCGI: comm with server “/var/www/fcgi/php-cgi” aborted: error parsing headers: malformed header ‘lasttaskloc’
Any one know how to fix this?
Thank you very much for your help,
Sam