php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31935 Wrong md5 value on hidden (.-begin) files.
Submitted: 2005-02-11 17:05 UTC Modified: 2005-02-11 17:39 UTC
From: djani22 at dynamicweb dot hu Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.0.2 OS: Linux RH9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: djani22 at dynamicweb dot hu
New email:
PHP Version: OS:

 

 [2005-02-11 17:05 UTC] 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?)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-11 17:39 UTC] tony2001@php.net
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 17:01:33 2025 UTC