0
I am developing a software for the company I work with and a problem has arisen: I need to create a file inside my PC that is saved using any other computer from the internal network of the company. Before I had it to work on my machine. So he used the fopen() function to create the file and used the "/srv/http/program/" path to save. Now that I intend to put it on the internal network of the company I wanted to know how to save the file in the same folder, inside my computer, but using another pc on the network. I have tried using my machine ip and the rest of the way, but it does not work. Gives error 404 - Object not found.
Where will the PHP application run? On each of the machines alone?
– Woss
Yes. In isolated machines.
– Rafael Pessoa
Question: Why? It is not better to let your application run on your machine and other users just access it remotely?
– Woss
It could be. How would be the best way to implement?
– Rafael Pessoa
This. How is the application running? Apache?
– Woss
That’s it. I’m using apache on a Linux Manjaro. But I have the option to also do it on a web host, but I prefer to use my computer as a server.
– Rafael Pessoa
Let’s go continue this discussion in chat.
– Woss