Click to See Complete Forum and Search --> : Open a New Browser Window


ken_walker_jr
10-13-2003, 10:39 AM
Is there a couple of lines I can pop in my Perl script that will open a new browser window and direct it to a page I specify?

CyCo
10-13-2003, 11:45 AM
yes, you can specify a redirect and set the target of your script to "_blank"

depending on the format of your script, here are some options:


print "Location: http://somewhere.com/somepage.htm\n\n";

print redirect "http://somewhere.com/somepage.htm";

print $q->redirect("http://somewhere.com/somepage.htm");