Have a great day everyone!
In one of the php scripts there is such a moment:
header("Location: 123.php");
Everything works fine: the jump occurs, but it became necessary to open 123.php in a new window, how to implement this?
Write the form target="_blank"
- and that's it. =)
This is only possible in javascript.
The open () method opens a new browser window.
Source: https://ru.stackoverflow.com/questions/20452/
All Articles
echo '<script type="text/javascript">window.open("123.php");</script>';
- the only way. If it's not a secret, can you find out the logic of your script? - ling