Home > Backend Development > PHP Tutorial > 文件上传 - PHP,Apache 多次上传同一文件时偶尔md5不一致。

文件上传 - PHP,Apache 多次上传同一文件时偶尔md5不一致。

WBOY
Release: 2016-06-06 20:33:31
Original
1244 people have browsed it

有一定几率会出现同一文件md5不一致的情况,想知道这种问题从哪下手解决,求给个思路

回复内容:

有一定几率会出现同一文件md5不一致的情况,想知道这种问题从哪下手解决,求给个思路

文件相同的话,那么算出来的值应该是一样的,如果发生了变化,那么说明该文件已经发生变化了。算法应该没问题,可能是处在文件上。

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