Page 1 of 1

Close the window in PHP

Posted: Mon Apr 22, 2002 2:10 pm
by slipstream
Is there a way to close the window in PHP when the user clicks a button? Or does that have to be a javascript call?

Posted: Mon Apr 22, 2002 2:42 pm
by jason
That is JavaScript, and JavaScript can only close windows it opened.

Posted: Mon Apr 22, 2002 8:12 pm
by sam
"That is JavaScript, and JavaScript can only close windows it opened..." without a warning, You can close any browser window you will get a box if it not a javascript popup however.

Cheers Sam