Does anyone know if it is possible to use fopen to control a file across a network?
Basically I have written a script to randomly generate passwords on a monthly basis, I also want to save this script to a text file for reference.
My problem is that I am getting an error when trying to save to a file across the network, when I originally tested this locally there was no problem.
Here is the code I am using:
$entry_line = "$clients[$i] : $pass n";
$fp = fopen("Z:\Passwords\Passwords.txt", "a");
fputs($fp, $entry_line);
fclose($fp);