Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

Header - NEW TAB

General discussions related to php

Moderators: macek, egami, gesf

Header - NEW TAB

Postby piiiteeer » Thu Jul 17, 2014 3:16 am

Is it possible in php to open a window in new tab using

header(Location: 'https://www.google.com');


If it's not what I suppose to do ?
piiiteeer
New php-forum User
New php-forum User
 
Posts: 1
Joined: Thu Jul 17, 2014 3:12 am

Re: Header - NEW TAB

Postby landi » Tue Aug 05, 2014 9:15 am

window.open() will use your browsers default behaviour (often a new tab).
landi
New php-forum User
New php-forum User
 
Posts: 236
Joined: Thu Mar 15, 2012 3:59 pm


Return to PHP General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.