Hi there,
I have a problem that I have called a PHP script in IFRAME and I want to release that IFRAME once the tasks are completed.
Parts of the scripts are as follows:
Process_form.php:
if($send_back_to_form == "yes") {
$redirect_to = $form_page_name."?done=1";
} else {
$redirect_to = $success_page;
}
===> I need $success_page to load without any frames <====
Config.php: $success_page = "thanks.php";
Thanks.php: echo '<meta http-equiv="refresh" content="5;url=http://www.mysite.com/index.php" />'
Any help will be appreciated to sort the problem out please.
===> I need $success_page to load in the same browser releasing the previous IFRAME <====
Cheers!!