Jump to content

can't write file to server - should be simple


NLCGraphics

Recommended Posts

Hi guys,

 

I'm trying to write a file to a seperate server using:

 

$file= fopen("\\serverName\firstFolder\secondFolder\fileName.xml", "w");

 

but it will not write to that file, any idea why?

 

I can write to a file in the same folder as the php file but not on another

server. The server I'm writing to doesn't have PHP or APACHE installed, should that matter, if I'm writing to the file from a server that does have those programs installed?

 

thanks,

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.