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:


This used to work fine in PHP 4.0.4pl1.

Thanks again, John

Edit Bug report at:

PHP Development Mailing List <>
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