probably a php error preventing the redirect, add the following code at line 1 to turn on error reporting:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
most common problem is the headers already sent error, see this post for details:
showthread.php?t=19285