This is a discussion on header question within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I want to use header("Location:........") but i want to open it in a blank page. How do ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I want to use header("Location:........") but i want to open it in a blank
page. How do i do that? thanks in advance -- Peter Naber E: peter@hostingu2.nl W: http://www.hostingu2.nl Posted by news://news.nb.nu |
|
|||
|
Peter wrote:
> I want to use header("Location:........") but i want to open it in a > blank page. > How do i do that? > You can't, because the opening of a new page is a client-side decision and not triggered by HTTP headers. One way to do it is with javascript, e.g.: window.onload = function () { window.open("somepage.html"); } JW |
![]() |
| Thread Tools | |
| Display Modes | |
|
|