我有一份案文文件,内容很多,我想在带PHP的屏幕上显示其中的一部分内容。
At a certain point there s string like ITEM DESCRIPTION:
What I want to get all content from this string (just after it) to the end of the file.
这是我迄今为止的法典:
$file = "file.txt";
$f = fopen($file, "r");
while ($line = fgets($f, 1000))
echo $line;
:)