Hi
I have a form on my site that is running in an iFrame called 'content'
When the form is submitted it saves some data into a cookie and then uses header(location) to reload the original home page. (index.php)
The problem is the full site including the iFrame etc are loaded back into 'content' !
Is it possible to use target="self" within header(location) ??
This is what I have so far !!
$host = $_SERVER['HTTP_HOST'];
$uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
header("Location: http://$host$uri/index.php");
Any ideas ? Thanks