3 ms·
> You're creating a memory leak A resource leak. That's assuming that you are referring to temp files not getting removed once the POST handler exits... whic
by huhtenberg 7y ago
> You're creating a memory leak
A resource leak. That's assuming that you are referring to temp files not getting removed once the POST handler exits... which is not how it works.
https://www.php.net/manual/en/features.file-upload.post-method.php https://www.php.net/manual/en/features.file-upload.post-meth...
The file will be deleted from the temporary directory
at the end of the request if it has not been moved
away or renamed.
> the internal rfc1867 uploaded files hash table.
This RFC does not talk about life cycle management of uploaded files at all, leave alone such specifics as hash tables.
- meritt 7y agoEdit: You know what? Fuck you. I'm done trying to help explain why you're incorrect.
- huhtenberg 7y agoAh, the good old trick of descending to incivility when lacking factual responses. Well done! Edit - and editing comments post-factum by pointing at kilobytes of source code.
- deleted 7y ago[deleted]
- pedrocx486 7y agoConsider me impressed, you just posted here common sense and basic knowledge and yet triggered them hard. (Two comments in a row even.) Is there a way to call Dang to have a look at those offensive comments? :-)
- dang 7y agoYou can flag a comment by clicking on its timestamp to go to its page, then click 'flag' at the top. In egregious cases, email us at hn@ycombinator.com.
- dang 7y agoYikes, please don't go on tilt like this on HN, regardless of how frustrating a conversation has become. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html