I know its probably something really simply, but I just can't seem to get it to work. I'm trying to create & write to a csv file accross our network on another server. I've looked at previous messages similar to mine and I still can't get it to work. I'm using an IP address to identify the server name.
$file = "\\10.168.3.189\directory\directory\". "$expfile";
$fp = fopen($file, "w+");
fclose($fp);
Warning: fopen(\10.168.3.189\directory\directory\filename.csv): failed to open stream: No such file or directory in C:\Program Files\Apache Group\Apache2\htdocs\MPI\tstexport.php on line 98
Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\Apache Group\Apache2\htdocs\MPI\tstexport.php on line 99