note 20317 added to function.tempnam
| From: | andrea at brancatelli dot it | Date: | Fri, 29 Mar 2002 17:55:39 +0000 |
| Subject: | note 20317 added to function.tempnam | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28393@lists.php.net to get a copy of this message | ||
On OS/2 this fuction creates a 0 bytes file named after the temporary name it just returned. Altough
I don't know if this is expected to happen, since documentation is not clear if this is going
to happen or not, it doesn't really make much sense to me. Probably it's a quirk of the
OS/2 port of PHP, but anyhow check it out if you plan to generate a file name but "may"
not use (thus unlink()) it later. It could fill your tmp dir with empty files.
--
http://www.php.net/manual/en/function.tempnam.php
http://master.php.net/manage/user-notes.php?action=edit+20317
http://master.php.net/manage/user-notes.php?action=delete+20317
http://master.php.net/manage/user-notes.php?action=reject+20317