PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
If you run the md5() function on a file, will it return a unique 32 bit hash for that file or is there a posibility that it would be the same if you edited the same file and added a space, let alone a completely different file?
Jcart wrote:I never said there isn't a chance for a collision , although I worded my reply kind of weird so I understand why you would "correct me"
You said: "If you change anything within the file it will return a different hash". That's not true. There is a very, very small chance that it will return the same hash.