Welcome to WebmasterWorld Guest from 54.196.17.157

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Closing Windows?

in PHP

     
5:23 pm on Jul 30, 2001 (gmt 0)

Preferred Member

10+ Year Member

joined:May 3, 2001
posts:365
votes: 0


Hi all,

Just wanted to know if there is a way to close a pop-up window using PHP?

Thanks

6:24 pm on July 30, 2001 (gmt 0)

Preferred Member

10+ Year Member

joined:May 9, 2001
posts:416
votes: 0


Not directly, but you can always embed a "window.close" javascript in the PHP - as long as the window was opened by javascript that is.
6:25 pm on July 30, 2001 (gmt 0)

Preferred Member

10+ Year Member

joined:May 3, 2001
posts:365
votes: 0


Got it,

Can't do it in PHP cause it's a server side scripting language, not client side.

Duh

Man!, that slipt by me. I need sleep. Anyway I got it done with JS

Thanks all