Answer the question
In order to leave comments, you need to log in
Why doesn't the md5_file() function work; in php on hosting?
There is a .txt file on the hosting server, in php I am trying to get the hash of this file with the above function. The function returns an empty response. Everything works on open server, but not on hosting. Hosting on ubuntu 16.04, open server was on windows
Answer the question
In order to leave comments, you need to log in
The most banal option - you specify the path to the file incorrectly. Maybe you do not take into account the case of the file name (which in other OSes other than Windows matters)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question