#18618 [Fbk->Bgs]: Become too slow actions when I cancel file download.
| From: | sniper@php.net | Date: | Mon, 29 Jul 2002 10:02:55 +0000 |
| Subject: | #18618 [Fbk->Bgs]: Become too slow actions when I cancel file download. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15478@lists.php.net to get a copy of this message | ||
ID: 18618
Updated by: sniper@php.net
Reported By: youngga@hotmail.com
-Status: Feedback
+Status: Bogus
Bug Type: Performance problem
Operating System: redhat 7.2
PHP Version: 4.2.2
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-07-29 03:37:44] youngga@hotmail.net
It may problem of browser.
There is no problem On Netscape.
The problem is occered only session related pages on IE.
When I changed header from Content-Disposition:attachment to inline.
Problem is OK.
But I should use it as attachment.
So, I want know solve the problem.
------------------------------------------------------------------------
[2002-07-29 02:11:31] yohgaki@php.net
Category: Filesystem function related -> Performance problem
It sounds like a dup, but I'm not sure.
Could you try latest CVS snap
http://snaps.php.net/
------------------------------------------------------------------------
[2002-07-29 00:36:41] youngga@hotmail.com
I have make download a file by using fopen() function.
my code is here.
-----------------------------------------------------
$down_file= "myfolder/myfile"
if(@$fp=fopen($down_file, "r" ))
{
Header("Content-type: application/save-as");
Header("Content-Disposition:attachment; filename=".$file_name);
Header("Content-Description: PHP3 Generated Data");
while( $data=fread( $fp,filesize($down_file) ) )
{
print($data);
}
}
--------------------------------------------------------
When I download a file in my browser and cancel download, the next
actions are very slow.
What is the problem?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18618&edit=1