I am on Windows 7 using XAMPP and am trying to write file to the default install location of
C:\xampp\htdocs using a PHP script but I am getting write failures. I can write to my own user area. How can I allow PHP to write to
You need to take into account the security Windows 7 has in place.
or you could try pointing the htdocs folder to another location such as your own home folder.