Header - NEW TAB

General discussions related to php

Moderators: macek, egami, gesf

piiiteeer
New php-forum User
New php-forum User
Posts: 1
Joined: Thu Jul 17, 2014 3:12 am

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 ?

landi
php-forum Active User
php-forum Active User
Posts: 311
Joined: Thu Mar 15, 2012 3:59 pm

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).


Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 3 guests

cron