Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

saving CGI output to a different name (boo)

by boo_radley (Parson)
on Jul 16, 2001 at 20:48 UTC ( #97082=note: print w/replies, xml ) Need Help??


in reply to Getting CGI to name a file it returns

usually putting (uh... memory slipping...) false file information after the actual path will do the trick. so rather than  http://foo.com/cgi-bin/bar.cgi have  http://foo.com/cgi-bin/bar.cgi/baz.doc and most browsers will save the script's output as baz.doc. This trick should not affect the execution of your script under Apache or IIS.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-05-28 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?