Well thanks again,
but I already know what the problem is, it is the response headers being
added to the ouput file. I just tried with a different code and it seems
to output the file ok, so i must be going wrong somewhere in the order in
which i output headers and so on.
i'm gonna keep w
On Fri, February 1, 2008 7:45 pm, szalinski wrote:
> On Thu, 31 Jan 2008 07:13:55 -, Per Jessen <[EMAIL PROTECTED]>
> wrote:
> Well I got it to work, much thanks to Richard Lynch, but now everytime
> I
> download a file, it is corrupt. For example, when I download small
> .rar
> file, just to t
Thanks
I have already another post dealing with this issue. (check newsgroup for
Server to client file transfer always corrupt).
I had figured out the problem that was corrupting the file, it is the
response headers that are being added to the file when it is downloaded,
and i don't know
On Feb 1, 2008, at 5:45 PM, szalinski <[EMAIL PROTECTED]> wrote:
On Thu, 31 Jan 2008 07:13:55 -, Per Jessen <[EMAIL PROTECTED]>
wrote:
Richard Lynch wrote:
Your script is reading the whole file, 64 measly bytes at a time,
into
a monstrous string $tmp.
Then, finally, when you've load
On Thu, 31 Jan 2008 07:13:55 -, Per Jessen <[EMAIL PROTECTED]> wrote:
Richard Lynch wrote:
Your script is reading the whole file, 64 measly bytes at a time, into
a monstrous string $tmp.
Then, finally, when you've loaded the whole [bleep] file into RAM in
$tmp, you just echo it out, right
Richard Lynch wrote:
> Your script is reading the whole file, 64 measly bytes at a time, into
> a monstrous string $tmp.
>
> Then, finally, when you've loaded the whole [bleep] file into RAM in
> $tmp, you just echo it out, right?
>
> Don't do that.
>
> :-)
>
> while (!feof($fp)){
> echo fre
On Tue, January 29, 2008 12:45 pm, Barney Tramble wrote:
> I have a script that I am trying to figure out to allow a remote file
> to
> be sent to a client's browser. It works ok for small files, but it
> keeps
> timing out for large files. I don't think it should even take as long
> as
> it does (
Barney Tramble wrote:
Hey
I have a script that I am trying to figure out to allow a remote file to
be sent to a client's browser. It works ok for small files, but it keeps
timing out for large files. I don't think it should even take as long as
it does (i.e. about 10seconds) before it pops u
Hey
I have a script that I am trying to figure out to allow a remote file to
be sent to a client's browser. It works ok for small files, but it keeps
timing out for large files. I don't think it should even take as long as
it does (i.e. about 10seconds) before it pops up a dialog box for m
9 matches
Mail list logo