且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

file_get_contents未提取完整文件内容

更新时间:2023-02-23 22:12:20

文件在本地吗?还是您正在尝试获取远程文件?您如何检查未读内容?由于<?php

Is the file local? Or are you trying to get a remote file? How did you check that the content is not read? Echoing it to a browser might trick you because of the < char in <?php

使用htmlspecialchars<pre>查看整个文本.或者只是查看页面的来源.

Use htmlspecialchars or <pre> to view the whole text. Or just look at the source of the page.