opening a new window using the Header("Location:") function
| From: | DonPro | Date: | Wed, 23 Oct 2002 14:07:43 +0000 |
| Subject: | opening a new window using the Header("Location:") function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-121089@lists.php.net to get a copy of this message | ||
Hi,
I use the following code to redirect users to my custom error pages when
submitting a form
Header("Location: ". $form["missing_fields_redirect"]);
When the code executes, it simply redirects to the URL specified in
$form["missing_fields_redirect"] but stays within the same browser window.
My question is: can I have the redirect page open in a new browser window
(similar to target="_blank") when using the above code?
Thanks,
Don