S
S
slava kk2018-12-19 12:39:09
PHP
slava kk, 2018-12-19 12:39:09

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

2 answer(s)
S
SagePtr, 2018-12-19
@SagePtr

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)

C
CityCat4, 2018-12-19
@CityCat4

Возможно, потому что соответствующий модуль не установлен :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question