NYCPHP Meetup

NYPHP.org

[nycphp-talk] closing a page

Jon Baer jonbaer at jonbaer.com
Tue Jul 17 12:00:13 EDT 2007


echo '<script type="text/javascript">if(window)window.close();</ 
script>'; // or target the window name ...

- Jon

On Jul 17, 2007, at 11:50 AM, shaiju davis wrote:

> hi,
>
>  I have a php page with content download option and I need to close  
> the
> window just after it shows the download option.
>  Is it possible ?
>
>
> Thanks in advance,
> Shaiju Davis.
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php




More information about the talk mailing list