From:             [EMAIL PROTECTED]
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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to