Wiired
asked on
PHP Header redirection
When using either of the following headers, can you make it open in a new window? (i.e. target=_blank)?????
header('Location: http://www.example.com');
or
header('Refresh: 5; url=http://www.example.com');
Probably very easy, just can't put my finger on it,
Thanks!
header('Location: http://www.example.com');
or
header('Refresh: 5; url=http://www.example.com');
Probably very easy, just can't put my finger on it,
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can't do it with headers or with a refresh.
You will have to use some sort of client side scripting like javascript.
You will have to use some sort of client side scripting like javascript.
<head>
<META HTTP-EQUIV="Refresh" CONTENT="3; TARGET=_blank; URL=http://www.some.org/some.html">
</head>
- Daniel