Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Popup windows in CGI/Perl

InFeStEdInFeStEd Member Posts: 32
[b]Situation[/b]:
I need to write a program up in CGI/Perl that, when executed, will open up another browser window with a new page then write to the page.

[b]Problem[/b]:
I know not how to do this. How can I open up another browser window and write to the page.

Thanks
-Mike


Comments

  • hhcohhco Member Posts: 7
    : [b]Situation[/b]:
    : I need to write a program up in CGI/Perl that, when executed, will open up another browser window with a new page then write to the page.
    :
    : [b]Problem[/b]:
    : I know not how to do this. How can I open up another browser window and write to the page.
    :
    : Thanks
    : -Mike
    :

    I assume that you are just using a link to start your CGI script. Why dont you call a window.open javascript command when the user clicks the link?

  • DrGonzoDrGonzo Member Posts: 41
    you can use print "Location: http://website.com" to change to a new location but for opening up and new window and then writing to it, you could probably use server-push, but its better to use JavaScript.
Sign In or Register to comment.