note 43802 added to function.tempnam
| From: | anakin dot skyw at gmx dot de | Date: | Sun, 04 Jul 2004 12:20:55 +0000 |
| Subject: | note 43802 added to function.tempnam | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-72518@lists.php.net to get a copy of this message | ||
>Under UNIX (where you can rename onto an extant file and so I used link), you will have to
>remove both the link and the link's target.
Couldn't you do
<?php
if ($newFileCreated) {
unlink ($sysFileName);
return $newFileName;
}
?>
and get the same semantics as the windows version?
----
Manual Page -- http://www.php.net/manual/en/function.tempnam.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43802
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43802&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43802&report=yes
Search -- http://master.php.net/manage/user-notes.php