#31935 [Opn->Bgs]: Wrong md5 value on hidden (.-begin) files.
| From: | tony2001@php.net | Date: | Fri, 11 Feb 2005 16:39:18 +0000 |
| Subject: | #31935 [Opn->Bgs]: Wrong md5 value on hidden (.-begin) files. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73884@lists.php.net to get a copy of this message | ||
ID: 31935
Updated by: tony2001@php.net
Reported By: djani22 at dynamicweb dot hu
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: Linux RH9
PHP Version: 5.0.2
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
md5() doesn't work with files, it works with *strings*.
use md5file() and check http://php.net/md5.
Previous Comments:
------------------------------------------------------------------------
[2005-02-11 17:05:29] djani22 at dynamicweb dot hu
Description:
------------
$somevalue=md5("/somewhere/.filename");
Reproduce code:
---------------
$somevalue=md5("/somewhere/.filename");
Expected result:
----------------
The somevalue is invalid.
(It is the md5sum of " xyz file not found" error response?)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31935&edit=1