There is a link to the URL to the file and download attribute. When you try to download a file, it knocks out "Network Error". The link code looks like this:
echo "<td><a href='" . $r['link'] . "' download=''>Ссылка</a></td>"; The links themselves are stored in this form:
C:\OSPanel\domains\dipl\web\upload\jxlrwtest.xls I tried it in mozilla, chrome and IE - in mozilla and chrome "Network Error", in IE it does not display anything and does not download the file. Help find a solution.
C:\OSPanel\...looks like a link to a local file, not on the server, but on the computer. Just checked your code on working links - it works! - Egor Randomize