, "" , - , :
file_get_contents, allow_url_fopen .
"" , :
$file = '...';
$my_data = file_get_contents($file);
, $my_data - .
, $file -, script, , $_GET, , ... , $my_data, .
... , require file_get_contents... , PHP- !
, ( allow_url_fopen), ( allow_url_include).
Quite often, the first is activated because it is useful; and the second is turned off because it causes security risks.
source
share