tags:

views:

41

answers:

1

Hi,

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.........

A: 

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>";
        ?>
Vinothbabu
This assumes he is running the PHP code in the View template and that the browser is not running a PopUp Blocker.
Gordon
I am just assuming things and giving him a reply, as i am yet to fully construe on what is his actual requirement.
Vinothbabu