good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: (Ovid) Re: Web Initiated File Downloadby THRAK (Monk) |
on Sep 07, 2001 at 19:16 UTC ( [id://110914]=note: print w/replies, xml ) | Need Help?? |
Ovid, thanks. Working from your code snippet I rolled it into the code below. Changed it to use CGI header generation and also passing a default file name.
Probably not good for everyone, but works well for what I'm doing. This worked in both IE5.5 & NS4.7x when I pass it a MIME of $mime_type = "text/tab-separated-values\; charset=us-ascii";
One question, what does the localization of $/ do? I understand what they do independently, but why is this necessary?
-THRAK www.polarlava.com
In Section
Seekers of Perl Wisdom
|
|