Function

fopen

Synopsis

fopen(string, string, mixed ...): mixed

Area
Runtime\PS\Files\fopenareas

Description

fopen opens $filename in $mode and returns a handle, or false on failure; php://output is the script's own output stream, php://input is the raw request body (stdin under the cli SAPI), and fopen refuses a mode that can write outside writable_paths.

Usage

$value = fopen($arguments);
$fn = fopen(...);

See also