Re: [PHP] Executing JavaScript

2004-03-04 Thread Todd Cary
Yes! Makes absolute sense. I put it on an Input Type=Button onClick. Thanks for your "patience"... Todd Richard Davey wrote: Hello Todd, Thursday, March 4, 2004, 6:52:33 PM, you wrote: TC> How can I execute "window.close()" with php? You can't, PHP is a server side language. You can echo ou

Re: [PHP] Executing JavaScript

2004-03-04 Thread Raditha Dissanayake
Siva Kumar, Where is your famous monthly post :-) Todd Cary wrote: How can I execute "window.close()" with php? Todd -- Raditha Dissanayake. http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean an

RE: [PHP] Executing JavaScript

2004-03-04 Thread Jeremy
Of *course* you can do that with php! When the user clicks a link, with PHP respond like this: ... ... And voila! PHP closes the window! -J -Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 9:58 AM To: [EMAIL PROTECTED] Subject: Re: [PHP

Re: [PHP] Executing JavaScript

2004-03-04 Thread Richard Davey
Hello Todd, Thursday, March 4, 2004, 6:52:33 PM, you wrote: TC> How can I execute "window.close()" with php? You can't, PHP is a server side language. You can echo out the above JS using PHP, but you can't "force" it to happen. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/