Opening a new window from Header Location or any other way

From: Date: Sun, 20 Apr 2008 18:45:42 +0000
Subject: Opening a new window from Header Location or any other way
Groups: php.general 
Request: Send a blank email to php-general+get-273331@lists.php.net to get a copy of this message
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;

« previous php.general (#273331) next »