i normaly fail to redirect a page with php header function..
|There is nothing much in it, you have to take care that nothing goes to browser before you do the redirection. Here is how to take care of redirection. |
Note that some time some warning messages comes of before redirection. This may happen in remote server or local host depending on error reporting. So take care of this.
else use <?php echo "<script>window.location='pagename.php'</script>"; ?>