PHP : How to use alert() before header('location:http://domain.com');
<p>How to use <code>alert()</code> before <code>header('location:http://domain.com');</code> so that alert work.
the problem is that php code is powerful and ignore alert()</p>
