Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75201 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81277 invoked from network); 3 Jul 2014 07:59:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jul 2014 07:59:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.170 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.217.170 mail-lb0-f170.google.com Received: from [209.85.217.170] ([209.85.217.170:43665] helo=mail-lb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/68-47713-26D05B35 for ; Thu, 03 Jul 2014 03:59:31 -0400 Received: by mail-lb0-f170.google.com with SMTP id 10so8955892lbg.29 for ; Thu, 03 Jul 2014 00:59:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=v8P5pRaHgd4bJ3aJZUP4vpEVpjofagcQXqNfcO6MdfY=; b=Aoe1qb2EVRdt6BsJZfNsLw1PDjTNUeTVAJMhT4hCDln+6TuaArkcJFGV9H6DhJx0tN ySEq9QpCEbGXj4nwNDBD9EQRJlz93/UgNVzkTt6v1sYZhqnK0K63nIEWeXgDX5N3zm2D b0452r9KggnEoTZ0CaRCzfSCsz6IiFJq9PFvitVge/aN/aaMjTkOBkAGgRHYIJFuL88B nKGEI6sp0ww7gRZDdrZKiub0fmH8cnqvr80UH2CJgt/2j5XxB8TpYM7uga6IX1Yfofyg /bsGgO7JfdTBx/mqt7Jyo8CXAWf9+wn6Qse6BVticveZGm1mqim6dDlR3PqJMAaJYZ+h KE7g== MIME-Version: 1.0 X-Received: by 10.112.16.40 with SMTP id c8mr2225605lbd.17.1404374368049; Thu, 03 Jul 2014 00:59:28 -0700 (PDT) Sender: mike.php.net@gmail.com Received: by 10.114.19.10 with HTTP; Thu, 3 Jul 2014 00:59:28 -0700 (PDT) In-Reply-To: References: Date: Thu, 3 Jul 2014 09:59:28 +0200 X-Google-Sender-Auth: CjPEfLYfJpSdohgXFIQxoP6Hn2I Message-ID: To: Levi Morrison Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a11c3c23256df8f04fd4563c2 Subject: Re: [PHP-DEV] PHP-5.6 php://input temp files From: mike@php.net (Michael Wallner) --001a11c3c23256df8f04fd4563c2 Content-Type: text/plain; charset=UTF-8 On 2 July 2014 23:16, Levi Morrison wrote: > On Wed, Jul 2, 2014 at 11:56 AM, Michael Wallner 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 --001a11c3c23256df8f04fd4563c2--