PEAR Manual
Prev |  | Next

# 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

## Note

This function can be called statically.

## See

## Example

Example 38-1. Using File::getTempFile()
    <?php
    require_once 'File.php';

    ?>

Prev | Home | Next
File::getTempDir() | Up | File::isAbsolute()