php redirect to parent directory code example
Example: PHP redirect parent page
<?php echo "<script>window.top.location.href = \"http://www.example.com\";</script>"; ?>
<?php echo "<script>window.top.location.href = \"http://www.example.com\";</script>"; ?>