Welcome to WebmasterWorld Guest from 54.205.251.179

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Closing Windows?

in PHP

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

10+ Year Member



Hi all,

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

Thanks

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

10+ Year Member



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 Jul 30, 2001 (gmt 0)

10+ Year Member



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