Re: Opening new browser window.

From: Date: Wed, 13 Mar 2002 16:36:38 +0000
Subject: Re: Opening new browser window.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88366@lists.php.net to get a copy of this message
Is there anyway that I can open a new browser window in php, like you are able to do in JavaScript (window.open()). I have had a look around and can't find any information on how this can be done.
PHP can't control browser objects like windows. You have to use JavaScript for stuff like that, or you could use the frames properties of HTML like this: <a href="./path/to/file" target="_blank">Click Here</a> Essentially, you're having the new file open up in a new frame, but instead of the frame being defined in the current window, it's in a new window. Not really JavaScript, but same effect. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#88366) next »