[PHP] Opening a new window from Header Location or any other way
- Date: Sun, 20 Apr 2008 11:45:42 -0700
- From: Richard Kurth <richardkurth@xxxxxxxxxxxxxx>
- Subject: [PHP] Opening a new window from Header Location or any other way
I have my login.php file that when I access the login fields they are in
a small window width=400,height=250. When I click on submit I what it to
close this window and open another full window with the web page that
the script directs it to. But nomater what I do it opens it in the same
window which is to small. Is there anyway to make it open the window up
or close it and open another full window. I know PHP is server side and
it does not have control of the client.
Of course this does not work. Is there a way to do this in javascript or
something else.
$link = "http://www.domain.com/main.php target=\"_blank\"";
header("Location:$link");
ob_end_flush();
exit;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php