Bug #11645: tempnam( ) does not use TMP environment variable
| From: | jlim at natsoft dot com dot my | Date: | Sun, 24 Jun 2001 18:17:51 +0000 |
| Subject: | Bug #11645: tempnam( ) does not use TMP environment variable | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57856@lists.php.net to get a copy of this message | ||
From: jlim@natsoft.com.my
Operating system: Windows ME
PHP version: 4.0.6
PHP Bug Type: Filesystem function related
Bug description: tempnam( ) does not use TMP environment variable
The PHP manual states:
The behaviour of the tempnam() function is system dependent. On Windows the TMP environment variable
will override the dir parameter.
However testing the following when my TMP env variable is set to \WINDOWS\TMP:
print tempnam('/','z')
the result is:
C:\zB312.TMP
This used to work fine in PHP 4.0.4pl1.
Thanks again, John
--
Edit Bug report at: http://bugs.php.net/?id=11645&edit=1