Re: [RFC][Under discussion] RFC1867 for non-POST HTTP verbs
| From: | Tim Düsterhus | Date: | Fri, 06 Oct 2023 14:44:38 +0000 |
| Subject: | Re: [RFC][Under discussion] RFC1867 for non-POST HTTP verbs | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121252@lists.php.net to get a copy of this message | ||
Hi
On 10/6/23 15:44, Ilija Tovilo wrote:
https://wiki.php.net/rfc/rfc1867-non-postRegarding the cleanup of the files, perhaps the files could be read into a
php://temp stream (https://www.php.net/manual/en/wrappers.php.php#wrappers.php.memory)?
While this would cause the function to be incompatible with $_FILES, I think it would make for a much nicer API and it would also automatically solve the cleanup problem.
Best regards
Tim Düsterhus