Documentation

GetFileContent

mixed
CMain::GetFileContent(
 string path
)

The method retrieves file contents. If the specified file does not exist - returns false. Non-static method.

Parameters

ParameterDescription
path Absolute path to the file on disk.

See Also

Examples of use

<?
$APPLICATION->GetFileContent($_SERVER["DOCUMENT_ROOT"]."/en/index.php");
?>


© «Bitrix24», 2001-2024
Up