php - Why is the md5 returning same hashes for two different file names -


I have two video files that have different file names. But when I am returning both the hashes back to the MD5 file name are the file names below.

1. \ test \ downloadvideo \ ans-70055040.hd.mp4

2. \ test \ downloadvideo \ ans-70055298.hd .mp4

  $ this-> _video_md5 = md5_file ("\ test \ downloadvideo \ ans-70055040.hd.mp4"); $ This- & gt; _videoo_md51 = md5_file ("\ test \ downloadvideo \ ans-70055298.hd.mp4"); Copy "MD5". $ This- & gt; _video_md5  md551f767588587184d13b8c9e6ed550166sh190d2078270d4ea1cb570b1de7   fb890bc761bda9a   
  copy "md5". $ This- & gt; _videoo_md51  md551f767588587184d13b8c9e6ed550166sh190d2078270d4ea1cb570b1de7 fb890bc761bda9a    

How can I get two different MD5 hash file names

As written above, md5 | Sha1_file is the content of the hash back file, file name is not included.

Possible "solution" will result in the hedge of both the filename and the hesh of the file, which will be a unique hash again.

Comments

Popular posts from this blog

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -