- Jun 16, 2010
- 991
- 130
I have a file called click.php. I want to execute javascript code which is mainly cookies, facebook pixel, and etc. However, after that I want the page to redirect. I can't use PHP header because it has to become before the HTML headers. How can I do this redirect after the javascript code executes? I am also passing the parameters into the URL..