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

Re: Cannot get correct filename using CGI

by xtype (Deacon)
on Jul 15, 2004 at 21:58 UTC ( [id://374835]=note: print w/replies, xml ) Need Help??


in reply to Cannot get correct filename using CGI

Perhaps you are looking for:
-Content_Disposition=>"filename=filename.txt"

update: why are you using refresh? Is it a splash screen? If not, you could simply:
print $cgi->redirect("$urlfrank");
...and then allow the second cgi to name the file in the output.

-xtype

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-25 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found