cyfer65 Posted August 5, 2011 Share Posted August 5, 2011 I need to find a way without using JavaScript to make my php page open a URL into a new tab/window..!!so if the person visits "http://mysite.com/index.php?REF=AAA&URL=http://google.com"http://google.com opens in a new tab/window and the index.php still loads its contents in the 1st tab/window.anything like that possible with php, or am i gunna need JS for this..? Link to comment Share on other sites More sharing options...
jeffman Posted August 5, 2011 Share Posted August 5, 2011 A server cannot instruct a browser to open a new window.If you are using a <a> element or <form> element, either of those can have a target attribute that will force the requested content into a new window or tab. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.