Redirect using PHP to a "new" browser window.

From: Date: Tue, 06 Mar 2001 18:54:51 +0000
Subject: Redirect using PHP to a "new" browser window.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42793@lists.php.net to get a copy of this message
List, I current use something like this to send some one who clicks on my links to the actual web page. $row = @mysql_fetch_array($result); $url = $row["url"]; $ID = $row["ID"]; header("Location: $url"); header(""); And then the hitcounter for that particular ID is incremented, thus the reason for this whole script. This works great. However, I would like the option to open up the target in a new window like when you specify "target="somewindowname" in the <a href... tag. How can I accomplish the same thing with the header or ... sigh ... can I not do this. John

« previous php.general (#42793) next »