Hi

I have a php application which runs on an IIS Server and I want to create/append a file on an other server or PC
Can I do it if I use fopen and I create a folder on that other server or PC which I grant write access to everyone or is it impossible?

$handle = fopen("\\\W109-0422\\test\\test.txt");

In short, why not try it and find out?

My thought is this would be prone to breakage. And nothing I'd think to put into something I'd want to work 24x7. For me I'd just write it local and put a link to the txt file on my other server or PC.

Assuming you have an nfs or samba share mounted on the remote system, this should not be a problem. I have done this frequently in the past.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.