* Thus wrote Joe Orton:
> On Fri, Nov 05, 2004 at 11:07:53AM +0100, Derick Rethans wrote:
> > On Fri, 5 Nov 2004, Klaus Reimer wrote:
> > 
> > > Marcus Boerger wrote:
> > >
> > > This is possible? Up to now I thought that the retrieving and processing
> > > of POST data is done BEFORE the PHP script is loaded. If I'm wrong here
> > > it definetly would be a cool thing to have script callbacks for this.
> > 
> > You are not wrong, POST/GET data is parsed before the PHP scripts are
> > run. I also think that functionality like this should not be part of PHP
> > itself. It is a user interface problem, so it should be done there.
> 
> It's really the only place it can be done safely: sending an HTTP
> response before the request body has been entirely read is fundamentally
> risky, too: HTTP clients are not required to read response data
> concurrently to sending request bodies, so sending the upload meter
> stuff can fill the TCP send buffer server-side and deadlock the
> connection for a compliant HTTP client.

I've been struggling with this issue, I havn't found any solid
standard on HTTP communication.  I've tested sending data without
reading all of the input with apache and IE/firefox/opera, with
success, but it still worries me that nothing is set as a standard.


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to