Re: PHP4/Apache2 Content-Length stripped?
| From: | Stoian Ivanov | Date: | Sat, 29 Jan 2005 15:53:24 +0000 |
| Subject: | Re: PHP4/Apache2 Content-Length stripped? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207680@lists.php.net to get a copy of this message | ||
Jason Barnett wrote:
> Stoian Ivanov wrote:
>> 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.
>>
>
> Actually, I thought that size limitations would be an issue as well.
> Especially for images... and especially for my dinosaur of a phone :)
>
>>
>> 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
>
> Wish you would have stated the original problem in the first place then!
> All is not lost. If I were you I would start by going to
> http://www.hawhaw.de and checking to see if that fit my needs.
>
From what I sow hawhaw is a php library/site/whatever which might be good in
what it is supposed to but the main problem (as stated in the subject) is
Content-Length header beaning removed alldough header ('Content-Length:'
$size) call is made in code
:(