|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-04-04 12:45 UTC] tony2001@php.net
[2007-04-12 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 08:00:01 2025 UTC |
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