Is it possible to force a complete page reload when using PHP to redirect within an iframe?
When redirecting within an iframe using PHP, it is not possible to force a complete page reload as the redirect will only affect the iframe content. However, you can use JavaScript to reload the entire page after the redirect is triggered.
<?php
// Redirect within iframe
header("Location: newpage.php");
?>
<script>
// Reload the entire page after redirecting within iframe
window.top.location.reload();
</script>