in reply to Re: redirect in more than standalone mode
in thread redirect in more than standalone mode
#! /usr/bin/perl -wT use strict; use CGI qw(:standard escape escapeHTML); use CGI::Carp qw(warningsToBrowser fatalsToBrowser); #all diagnostic t +o browser #print header (), # generate Content-Type header #start_html (-title => "Test redirect"); my $q = CGI->new; print $q->header( -type => 'text/html', -location => 'http://www.gmacfadden.com/cgi-bin/Work +Control/Home/download_file_from_file.cgi'); print "<h1>Here's some HTML.</h1>"; #print end_html (); # generate closing HTML tags exit (0);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: redirect in more than standalone mode
by gloryhack (Deacon) on Nov 17, 2006 at 23:28 UTC |