[PHP-WIN] Re: Problem with file download/fopen/fread - rfc2616 - hypertext transfer protocol -- http-1_1.htm [10/10]

2002-07-02 Thread Alex Elderson
ICAgdGhlIHRleHQgbGluZSBicmVhay4gSFRUUCByZWxheGVzIHRoaXMgcmVx dWlyZW1lbnQgYW5kIGFsbG93cyB0aGUNCiAgIHRyYW5zcG9ydCBvZiB0ZXh0 IG1lZGlhIHdpdGggcGxhaW4gQ1Igb3IgTEYgYWxvbmUgcmVwcmVzZW50aW5n IGEgbGluZQ0KICAgYnJlYWsgd2hlbiBpdCBpcyBkb25lIGNvbnNpc3RlbnRs eSBmb3IgYW4gZW50aXJlIGVudGl0eS1ib2R5LiBIVFRQDQogICBhcH

[PHP-WIN] Re: Problem with file download/fopen/fread

2002-07-02 Thread Alex Elderson
i am running also OS: WinXP Pro Apache 2.0.36 PHP 4.2.1 (module) if i replace: while(!feof($fc)) { set_time_limit(5); echo fread($fc, 10240); flush(); } with this echo fread($fc, $file_size); it works fine. But now we have an other problem: memmory l

[PHP-WIN] Re: Problem with file download/fopen/fread

2002-07-02 Thread Alex Elderson
Hi, I have the same problem Mail me if you have an idee ([EMAIL PROTECTED]) if (!($fc = fopen($base_path . $path . $file, "rb"))) { echo "error\n"; exit; } $file_size = filesize($base_path . $path . $file); ob_end_clean(); ignore_user_abort(false);