How to get PHP txt text

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;//输出
?>

Guess you like

Origin blog.csdn.net/ZouHuiDong/article/details/89789473