RE: [PHP] Window close.

From: Date: Mon, 06 Feb 2006 19:18:29 +0000
Subject: RE: [PHP] Window close.
Groups: php.general 
Request: Send a blank email to php-general+get-229981@lists.php.net to get a copy of this message
[snip] This might seem like a odd question, but in php I can leave a script by "exit;" But, how can I also close the html page that contains the script? I know that I can close the page many different ways via a user actions, but how can I close it from within a conditional php statement? [/snip] Repeat to yourself, PHP is server-side 3X. You cannot do it with PHP. You may be able to spit out a JavaScript close() statement at the end of the PHP script.

« previous php.general (#229981) next »