I have a tricky situation: I am exiting from PHP using
header('location: nextIndex.php');
and I want that the new page - nextIndex.php - to open in a new tab in Chrome. How could I do that? Thanks
You can't do that with PHP as its a serverside language.
The easiest way is if you change your location to a page that includes a javascript that opens the new window/tab.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.