File::getTempFile()

File::getTempFile() – returns a path to a temporary file

Synopsis

require_once 'File.php';

string File::getTempFile ( string $dirname = null )

Description

Parameter

Return value

Throws

Deprecated

deprecated

Note

This function can be called statically.

See

Example

Using File::getTempFile()

<?php
require_once 'File.php';

// deprecated Use File_Util::tmpFile() instead
?>
retrieves the system's temporary directory (Previous) checks wether the given path is an absolute path (Next)
Last updated: Wed, 27 Aug 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.