I'm still struggling with this! I was wondering if anyone can help me a little further.
I did a quick IPconfig of the machine I am trying to call, and the machine I am trying to called is Server.
Therefore the code I am using is:
$fp = fopen("//Server/Passwords/Passwords.txt", "w"); // Clear the files contents
fclose($fp);
When I try and call this all I get is:
Warning: fopen(//Server/Passwords/Passwords.txt): failed to open stream: No such file or directory in c:\development\password.php on line 17
I have tried calling the machine by IP address, but I get jsut the same thing.
Thinking about it the machine has two partitions C & D, and I can't see how calling it in this way would work, therefore I created a share on the machine (passwords), when I created this I ran the script and got the following error:
Warning: fopen(//Server/Passwords/Passwords.txt): failed to open stream: Permission denied in c:\development\password.php on line 17
This itself seems like a step in the right direction, but still doesn't help me out.
Does anyone have any ideas? 😕