new function: php_get_tmpdir() - bug #35380

php.internals

Hartmut Holzgraefe

20 years ago
I have added a small function requested by bug #35380 that exposes the C API function php_get_temorary_directory() to userland as php_get_tmpdir(). The patch is available from the bug page http://bugs.php.net/bug.php?id=35380 I can't oversee whether this has any security implications although i can't think of any ... Anny comments before i proceed to commit?
-- Hartmut Holzgraefe, Senior Support Engineer . MySQL AB, www.mysql.com

Pierre Joye

20 years ago
On Thu, 04 May 2006 00:53:38 +0200 hartmut@mysql.com (Hartmut Holzgraefe) wrote:
> http://bugs.php.net/bug.php?id=35380
That would really nice to have it. Temp directory detection is a pain.
-- Pierre Did I help you? Please donate :) http://blog.thepimp.net/index.php/1998/04/12/57-please-donate

Hartmut Holzgraefe

20 years ago
Pierre wrote:
> That would really nice to have it. Temp directory detection is a pain.
added the function and documentation now, but i'm not sure about the name yet, php_get_tmpdir() seems to be the better choice to me but php_tmpdir() would be more in line with the ohter info functions with php_ prefix it seems?
-- Hartmut Holzgraefe, Senior Support Engineer . MySQL AB, www.mysql.com Are you certified? http://www.mysql.com/training/certification