Re: PHP4/Apache2 Content-Length stripped?

From: Date: Sat, 29 Jan 2005 09:20:17 +0000
Subject: Re: PHP4/Apache2 Content-Length stripped?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-207674@lists.php.net to get a copy of this message
Richard Lynch wrote: > Stoian Ivanov wrote: >> I'm writing a wap download script involving dynamic image resizing and so >> on. I've notice that some phones are quitting in the mids of http >> transfer. >> After looking further I found out that headers() is sometimes ignored or >> stripped. I've googled around and found in a perl forum that flush-ing >> helps but in PHP4.3.10/Apache2/Gentoo/linux2.6 it seems to not help (at >> least in my configuration) Is there a work-around or something... >> (I'm going to post same question in apache's mailiing list..) > > WILD GUESS > > It sounds like the phones are simply ignoring any image larger than X > bytes. Some may ignore most won't. Modern phones have megabytes of memory. Anyway this is not the problem. There is a fine working custom http server but it is for windows and since we're migrateing to Linux we/I have to produce a solution. So I pick up PHP/Apache and now I have a problem :(

« previous php.general (#207674) next »