Configuring the Filesystem Functions

The following configuration directives can be used to control the behavior of the Filesystem functions.

Directive Name Value Type Description
allow_url_fopen boolean (on/off) Allow the fopen() -type functions to work with URLs. For example,
$fp = fopen 
('http://www.example.com', 'r'); 
include_path string The paths to search when attempting to include or require a file. Certain other functions, like fopen(), may use these paths as well.
magic_quotes_runtime boolean (on/off) If this directive is enabled, data received from many functions that retrieve data from external sources (such as the database and program execution functions), will be automatically processed with the addslashes() function.
magic_quotes_sybase ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.