Most likely the probelm is the blank line between the closing php tag:
?>
at line 105 and the next opening php tag:
<?php
at line 107, having that blank line at 106 can cause the redirect to fail.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.