mirror of
https://github.com/php/php-src.git
synced 2026-04-21 23:18:13 +02:00
6c4cb4c079
- Introduce php_open_temporary_file(), in place of tempnam(). Still needs testing under UNIX (mkstemp()), works reliably under Windows now. - Reimplement the mechanism for unlinking uploaded files at the end of the request (was it ever tested?). Files moved with move_uploaded_file() will not be unlink()'d again, to avoid (albeit very unlikely) race conditions.
5.5 KiB
5.5 KiB