ID:               22154
 Updated by:       [EMAIL PROTECTED]
 Reported By:      malekjo at aphrodite dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Apache related
 Operating System: Linux 2.4.18-10
 PHP Version:      4.3.0
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2003-02-11 20:30:59] [EMAIL PROTECTED]

Hmm...do you have zlib.output_compression=On ?
Or output_handler=ob_gzhandler ?? 
(in your php.ini)

What is your memory_limit setting in php.ini?

And does the bug occur with any browser..? 


------------------------------------------------------------------------

[2003-02-11 15:55:38] malekjo at aphrodite dot com

even with the simple fpassthru() to load content into the browser
window?

<?php

session_start();

$fp = fopen('wordlist.txt','r');

if ($fp)
{
  header("Cache-control: public");
  header("Content-Type: application/octet-stream");
  header("Content-Length:
".(string)filesize("/home/joem/public_html/php/wordlist.txt"));
  header("Content-Disposition: attachment;
filename=\"wordlist.txt\"");
  header("Connection: close");
  fpassthru($fp);
  fclose($fp);
}

else
{
  print "File not found\n";
}

?>

Doesn't work either.

------------------------------------------------------------------------

[2003-02-11 15:43:15] [EMAIL PROTECTED]

I think I've had same problem myself too. I got it solved
by sending the content-length header with the size of the file to be
downloaded..



------------------------------------------------------------------------

[2003-02-11 13:06:53] malekjo at aphrodite dot com

Interesting...at least my test case script sometimes responds now.  Not
often though.  Here's a trace:

GET /php/test2.php HTTP/1.1
Host: <client hostname>
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i586; U;) Gecko/0
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1

Accept-Language: en
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Keep-Alive: 300
Connection: keep-alive

HTTP/1.1 200 OK
Date: Tue, 11 Feb 2003 19:50:35 GMT
Server: IBM_HTTP_SERVER/1.3.19.2  Apache/1.3.20 (Unix) PHP/4.3.1-dev
X-Powered-By: PHP/4.3.1-dev
Set-Cookie: PHPSESSID=7691fe3e49b7a476fca1e0f32bc6f33e; expires=Tue,
11-Feb-03 20:00:35 GMT; path=/; domain=.<domain>.
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

0

------------------------------------------------------------------------

[2003-02-11 11:30:50] malekjo at aphrodite dot com

I just finished building the PHP Stable 200302111630 snapshot for IBM
HTTP Server, it built successfully.  Thanks!  Moving on to trying out
my scripts again...

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/22154

-- 
Edit this bug report at http://bugs.php.net/?id=22154&edit=1

Reply via email to