I need to write to a file that is located on a different server using php.
So, I get user data from a form on one server, and then need to write to a text file that is located on another server. Do I need to authenticate or something similar?
The second server that I need to write to is a windows server. Is this an issue?
Thanks!
There is no issue whether you are writing to either servers, you can accomplish this with PHP FTP.
Make sure you have correct permissions to write files on the servers or your code will not work and get an access denied error.