php header()

11111984
05:17:11
i normaly fail to redirect a page with php header function..
plz help.
smo1234
05-18-2011
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.
krsmoorthi
02-28-2012
On based on browser properties or javascript prototype, header function much not properly work.
check twice the php and javascript script codes
else use <?php echo "<script>window.location='pagename.php'</script>"; ?>
Please Login to post your reply or start a new topic