On Thu, April 19, 2007 11:58 pm, Justin Frim wrote: > Regarding some discussion a while back about putting in a feature > request for obtaining the POST body... > > I can see the advantage of streaming the POST body directly to disk, > because then you don't have to allocate a huge amount of memory for > keeping a copy of the POST body in a variable. So maybe (and this is > wishful thinking), a feature could be added to PHP where the entire > POST > body, unaltered, is streamed to a file in the same fasion as those > individual temporary files referenced in the $_FILES[] array. > > Then for HTTP digest authenticated requests with integrity protection, > I > could just call md5_file() on this special file, and my world would be > a > whole lot simpler! (And any other script programmers, should they > need > to access the POST body for whatever reason, can just read the file > and > parse it however necessary. No gigantic memory overhead involved.) This sounds like a perfectly reasonable Feature Request to this naive reader... http://bugs.php.net/ -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php