I would like to redirect the page using php header(Location: ) And at the same time, open a pop up window using window.open()
Since the header() has to be the first output, after the page redirected by header(Location: ), the window.open() is not executed.
Any solution to reslove the problem there? Thanks
stargeek
7:59 am on Dec 11, 2003 (gmt 0)
you cannot use php's header after you have sent javascript to te browser, but how about redirecting with javascript's top.href.location after you open the pop up?