Morse, Richard E wrote:
I'm not sure about it cutting off, but handling the naming issue of the download
is something that I've dealt with before -- basically, most browsers are going
to save the file by the name of the page they are getting it from. The trick is
to fool the browsers into
http://mysite.com/myscript.cgi/path/to/my/file?any=extra+cgi+params
--^
When using PATH_INFO, you use / instead of ? to start the arg list:
http://mysite.com/myscript.cgi/relativepathtomy/script/any=extra+cgi+params
Definately yes and no ...
Rodney Wines wrote:
http://mysite.com/myscript.cgi/path/to/my/file?any=extra+cgi+params
--^
When using PATH_INFO, you use / instead of ? to start the arg list:
http://mysite.com/myscript.cgi/relativepathtomy/script/any=extra+cgi+params
Hi, Krung,
Apparently you didn't sent the actual file, only the header. You need to
read it from the file handle and print it out to your output stream.
I assume this must be:
use constant BUFFERSIZE = 65536;
binmode $filehandle;
binmode OUTPUT; # This is your OUTPUT stream
while ( read (
My script works!!! but have to modify a little. Thank you very much.
Krung.
-- Original Message --
From: Alexei Danchenkov [EMAIL PROTECTED]
Date: Fri, 12 Oct 2001 15:54:51 +0400
Hi, Krung,
Apparently you didn't sent the actual file, only the header. You