ID:               35380
 Updated by:       [EMAIL PROTECTED]
 Reported By:      daniel dot gorski at develnet dot org
-Status:           Open
+Status:           Assigned
 Bug Type:         Feature/Change Request
 Operating System: Any
 PHP Version:      Any
-Assigned To:      
+Assigned To:      hholzgra


Previous Comments:
------------------------------------------------------------------------

[2006-03-22 04:52:28] daniel dot gorski at develnet dot org

Is there anybody out there, who feels responsible for that issue?

regards dtg

------------------------------------------------------------------------

[2006-03-07 00:28:28] daniel dot gorski at develnet dot org

I found additionally found <http://bugs.php.net/bug.php?id=24087> from
2 1/2 years ago, that refers to the same problem.

Guys, it is not that problematic to provide that temporary file
information, why don't you do it? It's the simplest change you could
ever do with big impact.

There is no issue that is against that problem, but is it important to
know the current temporary directory for software that should work on
WinXX.

PLEASE introduce a function or a CONSTANT, that reflects, what PHP
internally knows! Thank you,

------------------------------------------------------------------------

[2006-01-10 05:38:52] daniel dot gorski at develnet dot org

*ping* ?!

------------------------------------------------------------------------

[2005-12-01 23:29:25] daniel dot gorski at develnet dot org

Any opinions?

regards dtg

------------------------------------------------------------------------

[2005-11-25 04:28:32] daniel dot gorski at develnet dot org

Description:
------------
It is not possible to programatically get the information about the
directory used by PHP where to store temporary files - if the session
save path is not set in the php.ini (default). There is no chance to
get an unusal path (unlike /tmp/) for temporary directory on OSes like
Windows.

Creating a _single_ temporary file by e.g. tmpfile() doesn't solve the
problem if an additional temporary structure, e.g. for caching
purposes, needs to be created beneath the temp directory and an
userland method requires the path on which it can work on.

If running on Windows the location of the temporary directory might
differ. The code - or the - recognition of it is already solved in
PHP:

http://lxr.php.net/source/php-src/main/php_open_temporary_file.c#161

But there is no way to get this information whilst a script is
running.


Reproduce code:
---------------
-none-

Expected result:
----------------
A constant or function that reflects/returns the status of PHPs
internal php_tmpdir()/php_get_temporary_directory() for the current
running script.

Actual result:
--------------
not available, but thank you for fixing in advance.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35380&edit=1

Reply via email to