in reply to displaying excel/pdf files in browser
print "Content-type: application/vnd.ms-excel\n"; # The Content-Disposition will generate a prompt to save the fil +e. If you want # to stream the file to the browser, comment out the following l +ine. print "Content-Disposition: attachment; filename=$name\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: displaying excel/pdf files in browser
by IDStewart (Acolyte) on Feb 27, 2002 at 20:19 UTC | |
by gellyfish (Monsignor) on Feb 27, 2002 at 21:10 UTC |