Copyright: please indicate the source! https://blog.csdn.net/ZouHuiDong/article/details/89789473
As shown in the following code:
<?php
$value=file_get_contents("test.txt");//获取内容并保存到变量value
echo $value;//输出
?>
As shown in the following code:
<?php
$value=file_get_contents("test.txt");//获取内容并保存到变量value
echo $value;//输出
?>