Re: How to...
| From: | Pavel Jartsev | Date: | Tue, 06 Apr 2004 11:10:01 +0000 |
| Subject: | Re: How to... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182453@lists.php.net to get a copy of this message | ||
Vicente Werner wrote:
El Martes, 6 de Abril de 2004 10:13, Burhan Khalid escribió:Try "onLoad"-event of BODY-tag, i.e. send such HTML to browser: <html> <body onLoad="window.close();"> </body> </html> Hope that helps. -- Pavel a.k.a. PapiYou cannot close the window from within PHP. You have to use client side scripting (Javascript).I've already tried sending : <script language="Javascript"> window.close() </script> Just after echoing the file, but with 0 success.