Re: Close Window script
| From: | Lindsay Adams | Date: | Fri, 06 Apr 2001 18:54:01 +0000 |
| Subject: | Re: Close Window script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47492@lists.php.net to get a copy of this message | ||
This is offtopic, but easy
User javascript
Make your link =
<a href="javascript:window.close();">linked item </a>
If you are wanting to do it with PHP, stop.
PHP is server side only
http is connectionless, the server can't tell the client to close it's
window.
On 4/6/01 11:45 AM, "Wee Chua" <Chua@mail.interclean.com> wrote:
> Hi all,
> Can anyone tell me how to write a script to close the current opened window
> with hyperlink? Thank you.
>
> Calvin Chua
> Systems Analyst
> InterClean Equipment, Inc.
> 734-975-2967
> www.InterClean.com
>