I need to open xml file in php page. The file is located in share folder that I made on my PC. File is accessible from other PC's that are connected to the server. How can I do that? Thank you!
Have tried this:
$file_read = file_get_contents('file:///10.8.8.89/test/20180716_BT-0444-0445.xml');
$file_read = preg_replace('/&/', ' and ', $file_read);
echo $file_read;
but code acts like the file doesn't exist. Before that I took xml files from the ftp server and it worked fine.