Re: [PHP] Close Window script

2001-04-06 Thread Lindsay Adams

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" [EMAIL PROTECTED] 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
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Close Window script

2001-04-06 Thread Sam Masiello


You need to do this using Javascript since it is a client side function.

window.close() is the function you are looking for.

HTH

Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]

 -Original Message-
From:   Wee Chua [mailto:[EMAIL PROTECTED]] 
Sent:   Friday, April 06, 2001 2:46 PM
To: PHP (E-mail)
Subject:[PHP] Close Window script

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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Close Window script

2001-04-06 Thread Pierre-Yves Lemaire

You could do it only in javavascript

or in php

echo "a href=\"javascript://\" OnClick=\"self.close\"Close this 
window/a\n";

py

At 02:45 PM 4/6/01 -0400, you 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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


+ ==
+ Pierre-Yves Lem@ire
+ E-MedHosting.com
+ (514) 729-8100
+ [EMAIL PROTECTED]
+ ==


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]