Re: closing browser's window

From: Date: Sun, 22 Sep 2002 23:30:14 +0000
Subject: Re: closing browser's window
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117209@lists.php.net to get a copy of this message
I can't imagine how anyone could thing this is a good idea! What's next? Change my browser preferences without asking me? Move some files around on my hard drive? FWIW, PHP is a SERVER SIDE language. It doesn't interact with the browser... by the time your browser recieves a page, it's just plain HTML, which can be seen with view > source. To do something as horrid as closing a browser, it would have to be done with something like JavaScript on the browser (client-side). For example, self.close() (forget exact syntax) in JavaScript may do what you want. I still can't see an occasion where you'd want this... at least not on a consumer site. Justin on 23/09/02 1:03 AM, Murat Ö. (murat_inf@yahoo.com) wrote: > hi, > > is it possible to close client's browser's window from php script? > > thanks... > >

« previous php.general (#117209) next »