Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Not able to display 'save as dialog box' in browser

by naikonta (Curate)
on Oct 03, 2007 at 08:04 UTC ( [id://642329]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        print "Content-Type: application/octet-stream\n\n";
    
  2. or download this
    print "Content-Type: text/plain\n";
    print "Content-Length: $filesize\n";
    ...
    open FILE, $filename or die "can't open $filename: $!\n";
    print while <FILE>;
    close FILE;
    
  3. or download this
    use CGI::Simple;
    use strict;
    ...
    
    open FILE, $filename or die "Can't open $filename: $!\n";
    print while <FILE>;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://642329]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-20 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found