Re: PHP-5.6 php://input temp files

From: Date: Thu, 03 Jul 2014 07:59:28 +0000
Subject: Re: PHP-5.6 php://input temp files
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-75201@lists.php.net to get a copy of this message
On 2 July 2014 23:16, Levi Morrison <levim@php.net> wrote: > On Wed, Jul 2, 2014 at 11:56 AM, Michael Wallner <mike@php.net> wrote: > > Hi! > > > > While hunting other bugs I noticed that the temp stream for php://input > > stores its temp files in sys_temp_dir instead of upload_tmp_dir (of > > course), which might be quite unexpected and cumbersome for a sysadmin. > > I can understand why you would put it in upload; the php://input > stream is the raw data for the request which is most commonly used in > uploads via PUT or POST. > > However, it did take me a few minutes to realize this. I would not > have expected it to be in the upload tmp directory instead of the > system temp directory. > Yet, you only have an argument for my expectation not yours, or am I missing something? php://input is *only* not *most commonly* used for input data over the wire. -- Regards, Mike

« previous php.internals (#75201) next »