note 109097 deleted from function.sys-get-temp-dir by danbrown
| From: | danbrown@php.net | Date: | Tue, 26 Jun 2012 14:04:27 +0000 |
| Subject: | note 109097 deleted from function.sys-get-temp-dir by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-188857@lists.php.net to get a copy of this message | ||
Note Submitter: ben at indietorrent dot org
----
It's worth reiterating a previous comment: this function seems to return the operating
system's temporary directory of choice, NOT PHP's. In other words, even when the string
"/tmp" does not appear anywhere in phpinfo()'s output, and vhost-specific paths have
been specified for all temporary directories that PHP uses, this function may (and probably will)
return "/tmp". (Confirmed in PHP 5.3.2.)