php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #49211 Provide mkdtemp(3) equivalent
Submitted: 2009-08-10 15:27 UTC Modified: 2011-01-01 16:10 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: crrodriguez at opensuse dot org Assigned:
Status: Open Package: Filesystem function related
PHP Version: * OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: crrodriguez at opensuse dot org
New email:
PHP Version: OS:

 

 [2009-08-10 15:27 UTC] crrodriguez at opensuse dot org
Description:
------------
There is no function in the core to create a temporary directory safely. I think we need to provide an equivalent to mkdtemp(3)

Reproduce code:
---------------
----

Expected result:
----------------
string mkdtemp(string $dir  , string $prefix )

with results identical to 

http://www.opengroup.org/onlinepubs/9699919799/functions/mkdtemp.html

Actual result:
--------------
---

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-01 16:08 UTC] jani@php.net
-Package: Feature/Change Request +Package: Filesystem function related
 [2011-01-01 16:08 UTC] jani@php.net
-Operating System: All +Operating System: *
 [2011-01-01 16:10 UTC] jani@php.net
-PHP Version: 5.3SVN-2009-08-10 (SVN) +PHP Version: *
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC