Home  >  Article  >  Backend Development  >  PHP 提取文件部分内容验证失败,分数不够见谅

PHP 提取文件部分内容验证失败,分数不够见谅

WBOY
WBOYOriginal
2016-06-13 13:24:20959browse

PHP 提取文件部分内容验证失败,求救!分数不够见谅

PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
") { echo "验证正确"; } else echo "验证出现错误"; } function jiequ($filename) { $i=substr(trim(file_get_contents($filename)),0,9); return $i; } ?>

------解决方案--------------------
file_put_contents("./tempdata.txt",$masstemp);
$ls="finddata/tempdata.txt";
你这两个tempdata.txt文件是不是同一个??

问题描述的在清楚些。



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn