I'm inhering some code and trying how to redirect properly.
There's an iframe that's PHP within an HTML page.
When the PHP executes (gets form submit and sends an email), the iframe successfully redirects correctly, using:
header('Location:http://www.example.com');
What's the best way to do this?
I need something like window.top.location.href = "http://www.example.com";
but in PHP (I think)