ID: 40994 Updated by: [EMAIL PROTECTED] Reported By: php at andreas-balzer dot de -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: Microsoft Windows Vista 64 Bit U PHP Version: 5.2.1 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2007-04-04 12:31:36] php at andreas-balzer dot de Description: ------------ If you request php function tempnam on Windows Vista 64 Bit, it'll add a \ at the end of the filepath. e.g.: You specify the path with "c:/any/" (prefix "file"), it'll return c:/any/\fil.tmp First of all you notice the \ and then you notice, that only 3 chars of the prefix are used.. :-/ Reproduce code: --------------- $something = tempnam('c:/any/','file'); Expected result: ---------------- c:/any/file.tmp Actual result: -------------- c:/any/\fil.tmp ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40994&edit=1