Re: [PHP] Window close.

2006-02-07 Thread Miles Thompson
At 03:42 AM 2/7/2006, Labunski wrote: It can'tbe done with PHP, cause it must be client side script, aka Javascript: javascript: window.close(); -- Actually, expand it a little bit, and you avoid the JS Alert. function close_opener(){ parentwin = window.self; // Make

Re: [PHP] Window close.

2006-02-07 Thread Jason Petersen
On 2/7/06, Miles Thompson [EMAIL PROTECTED] wrote: Actually, expand it a little bit, and you avoid the JS Alert. function close_opener(){ parentwin = window.self; // Make handle for current window named parentwin parentwin.opener = window.self;// Tell

[PHP] Window close.

2006-02-06 Thread tedd
Hi: This might seem like a odd question, but in php I can leave a script by exit; But, how can I also close the html page that contains the script? I know that I can close the page many different ways via a user actions, but how can I close it from within a conditional php statement?

RE: [PHP] Window close.

2006-02-06 Thread Jim Moseby
Hi: This might seem like a odd question, but in php I can leave a script by exit; But, how can I also close the html page that contains the script? I know that I can close the page many different ways via a user actions, but how can I close it from within a conditional php

RE: [PHP] Window close.

2006-02-06 Thread Jay Blanchard
[snip] This might seem like a odd question, but in php I can leave a script by exit; But, how can I also close the html page that contains the script? I know that I can close the page many different ways via a user actions, but how can I close it from within a conditional php statement?

Re: [PHP] Window close.

2006-02-06 Thread Sumeet
tedd wrote: Hi: This might seem like a odd question, but in php I can leave a script by exit; But, how can I also close the html page that contains the script? I know that I can close the page many different ways via a user actions, but how can I close it from within a conditional php

Re: [PHP] Window close.

2006-02-06 Thread James Kaufman
On Mon, Feb 06, 2006 at 02:05:55PM -0500, tedd wrote: Hi: This might seem like a odd question, but in php I can leave a script by exit; But, how can I also close the html page that contains the script? I know that I can close the page many different ways via a user actions, but how

Re: [PHP] Window close.

2006-02-06 Thread Paul Novitski
At 11:05 AM 2/6/2006, tedd wrote: This might seem like a odd question, but in php I can leave a script by exit; But, how can I also close the html page that contains the script? I know that I can close the page many different ways via a user actions, but how can I close it from within a

Re: [PHP] Window close.

2006-02-06 Thread tedd
To all: Thanks for all your replies. I realize and understand that php is server-side -- however, with that said -- there ARE ways around some barriers such as using javascript, which can be delivered via php. Granted not all users have javascript installed, but for what I'm doing, I know my

Re: [PHP] Window close.

2006-02-06 Thread Labunski
It can'tbe done with PHP, cause it must be client side script, aka Javascript: javascript: window.close(); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php