Logo

file_get_contents()

ops...

Description

Reads an entire file into a string. The file can either be an actual file on your PC, or a URL to a file, or even an entire website page.

Usage: file_get_contents(string $filename, bool $use_include_path = false, ?resource $context = null, int $offset = 0, ?int $length = null): string|false file_get_contents('php://input') file_get_contents($url, false, $context)