PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hello all
My question is about header and it's in iframe but when it's redaite it need to be in top so i try like in the code below but it did not work out
header("Location: target=_top index.php");
how the code it showed to be
thank you
echo "<script>location.replace('index.htm');target=_top</script>";
i tried with java script but it did not work as well
or do u have any command in mind let us know thanx hope/looking for help and more to know
thanks arborint for giving idea about Java to use in this and here the right code
echo "<script>top.location.replace('https://www.yoursite.com/');</script>";