i know this is a php forum, and "header" will work fine for what your trying to do, but if youve written anything to the file before you use "header" it will give you an error and exit the script. so for redirecting i always use Javascript. It's alot more versatile for it. things like:
Code:
<script type=text/javascript>
window.location.replace('whatever.html');
</script>
^that will redirect the page and not let the user press the back button. Works great for $_POST vars so they wont press back and get the "This Page Has Expired" message.
also it has Frames support, so you can redirect any frame from a different frame within the frameset....if that makes sense?
just for future knowledge