Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Answer: pushing requested file

by gav^ (Curate)
on Feb 08, 2002 at 14:48 UTC ( #144108=categorized answer: print w/replies, xml ) Need Help??

Q&A > CGI programming > pushing requested file - Answer contributed by gav^

or:
use CGI; my $cgi = CGI->new; print $cgi->header(-location => "http://www.mysite.com/$URL");
I tested this on IE and it opens the word document straight into the browser window.

Hope this helps...

gav^

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2019-01-22 20:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    After Perl5, I'm mostly interested in:
































    Results (390 votes). Check out past polls.

    Notices?