PEAR_Common::mkTempDir

PEAR_Common::mkTempDir() – Create and register a temporary directory.

Synopsis

require_once 'PEAR/common.php';

string PEAR_Common::mkTempDir ( string $tmpdir = '' )

Description

Create and register a temporary directory.

Parameter

string $tmpdir

Directory to use as tmpdir. Will use system defaults (for example /tmp or c:\windows\temp) if not specified.

Return value

string name of created directory

Note

This function can not be called statically.

Create a directory and necessary parent directories (Previous) Set object representing frontend to use. (Next)
Last updated: Sun, 19 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.