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

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

WBOY
Release: 2016-06-13 10:36:01
Original
792 people have browsed it

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

PHP code
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Copy after login
") { 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文件是不是同一个??

问题描述的在清楚些。



Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template