0 Пользователей и 1 Гость просматривают эту тему.
$file = include($_SERVER[\'DOCUMENT_ROOT\']."/inc.php");?>finish
include file return;?>
include file finish
$string = get_include_contents(\'inc.php\'); function get_include_contents($filename) { if (is_file($filename)) { ob_start(); include $filename; $contents = ob_get_contents(); ob_end_clean(); return $contents; } else { return \'\'; } return \'\'; }