Good afternoon, I have a PHP file that looks for a txt to get the information and upload it to the SQL database, however this file is generated by the server here in the company (where my machine is already mapped to R:
or \ server \ adm).
Today I have to go to R:
, get this file ( ATUALIZA.TXT
), bring it to my machine in the WAMP folder, where the PHP file is, and then I'll run the file.
But I wanted to leave this "automatic", where my PHP program already searched the server directly without having to play on my machine.
I'm getting this error when I use the server path:fopen
.
Can anyone help me find a solution on how to open this file on the network ?? Thank you.