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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 16:01:31 2024 UTC