Gins
Gins

Reputation: 17

Open a popup window

Can i open a new window after execution of some code(ie at some point of time before completion i need to open a new window in zend.Can i do this?

Also how can i check the size of a remote file.

Thanks in advance.........

Upvotes: 0

Views: 6942

Answers (1)

Thalaivar
Thalaivar

Reputation: 23632

Your Question is incomplete, but let me try to give you the possible best answer. You have some PHP code written and there is some sort of verification or authentication going on. In the Middle of the process you need to openup a popup to check something.

        <?php
        print "<script type='text/javascript'>";
        print "window.open='http://www.examples.com/page.html','new_window1',
        'status=1,scrollbars=1,
        resizable=0,menu=no,width=320,height=220'";
        print "</script>";
        ?>

Upvotes: 2

Related Questions