Hi
I'm working with a few pages that include the google maps api, and as a result I needed to implement a simple iframe fix for IE browsers.
In one case I need the page loaded in my iframe to redirect the parent page. This redirect is triggered on a form submit.
Currently this is the form action
<form id="searchForm" name="searchForm" method="post" action="<? echo $HTTP_SERVER_VARS['PHP_SELF']; ?>">
and once it refreshes it triggers the following code (since I have a hidden field named process)
if ($_POST['process'] == 1) {
redirect(" }
any possible way for php to target the parent page with the redirect / find out if its trapped in an iframe at that point?
I'm working with a few pages that include the google maps api, and as a result I needed to implement a simple iframe fix for IE browsers.
In one case I need the page loaded in my iframe to redirect the parent page. This redirect is triggered on a form submit.
Currently this is the form action
<form id="searchForm" name="searchForm" method="post" action="<? echo $HTTP_SERVER_VARS['PHP_SELF']; ?>">
and once it refreshes it triggers the following code (since I have a hidden field named process)
if ($_POST['process'] == 1) {
redirect(" }
any possible way for php to target the parent page with the redirect / find out if its trapped in an iframe at that point?