Close the window in PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
slipstream
Forum Commoner
Posts: 86
Joined: Fri Apr 19, 2002 8:53 am
Location: Canada

Close the window in PHP

Post 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?
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

That is JavaScript, and JavaScript can only close windows it opened.
User avatar
sam
Forum Contributor
Posts: 217
Joined: Thu Apr 18, 2002 11:11 pm
Location: Northern California
Contact:

Post 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
Post Reply