I have iis, windows 2003 server, and php running on my server.
In testingon my laptop, my code writes fine to the log file. However, now that I am on the server it will not write to the log file. All the files are the same as on the test machine. I am using wamp on the test laptop I write the code to.
This is the sample code for the logging that works on my test laptop but not on the server.
-
@extract($_POST);
-
$filename = "formdata.txt";
-
file_put_contents($filename, serialize($_POST)."\r\n",FILE_APPEND);
-
Is there anything in IIS I need to change to allow the logging?
Or maybe the file name needs to change to specify the exact location?
Thanks!