New to PHP, but progressing well.
However, I have some code which should work (I have tried it sucessfully on an Apache Server 1.3 on my own standalone machine). It has to run on NT Server 4 with IIS4 and it fails on the following, give a write permission denied error.
$fd = fopen("myfile.txt","w");
I suspect the error is not php originated, but rather from NT or IIS.
The file permissions on the file, which already exists, rwxrwxrwx. However, is there something else that needs to be set, either in the PHP configuration on the server, or in NT/IIS?
I've spoken to the guy running the server, but I have not got a satisfactory reply yet.
Something like this is fundamental to PHP, isn't it? All I want to do is write usernames and password to a file.
Help...