If you are trying to do some automation type stuff you might want to look at something like Robo Task - http://www.robotask.com/ You can schedule a browser open to specified URL's (php script) and have it close the window handle after the page is loaded. Regards, Will T Chief Technical Officer Oddity Software LLC Toll Free 1.888.506.5995 http://www.odditysoftware.com -----Original Message----- From: tedd [mailto:tedd.sperling@xxxxxxxxx] Sent: Monday, December 06, 2010 3:39 PM To: Ethan Rosenberg; php-db-lists.php.net; php-general@xxxxxxxxxxxxx Subject: [PHP-DB] Re: Closing Browser At 12:45 AM -0500 12/3/10, Ethan Rosenberg wrote: >Dear List - > >How do I close the browser window, with a script [shell or Perl], after >I exit PHP? > >Thanks. > >Ethan Ethan: PHP runs before the browser reads the result. As such, if PHP closed the window when it exited, then there would not be an open window for the user to see. I suggest you re-think what you are trying to do. In fact, if you simply state what you are trying to do, it might be a better way to get our opinion. Cheers, tedd -- ------- http://sperling.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php