Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Auto-Backup Questions

by nashdj (Friar)
on Jun 05, 2000 at 11:53 UTC ( [id://16368]=note: print w/replies, xml ) Need Help??


in reply to Auto-Backup Questions

>Also, is there a way to modify the CGI headers such that when the browser pops up the "Save As..." dialog, the default filename is something like "backup.tar.gz" instead of "backup.cgi"?

You can change the way the browser requests the document. However this may not be what you are after.

If the browser requests it asblah.com/backup.cgi/backup.tar.gz?any=args&you=want It will prompt to save as backup.tar.gz and still call the backup.cgi script. You could just have calling backup.cgi without any args redirect to that location (well thats one possible solution).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2025-02-07 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (94 votes). Check out past polls.