title: Setting File Permissions in Windows with PHP
body: <p>I have a script that uploads a *.csv to import into a DB table that I have which works great in linux through <code>chmod($target, 0777);</code> but I can't for the life of me find the solution to do exactly this but on a Windows based Apache server. </p>
  
  <p>Some other posts have people responding "don't put in the 0777 and it should work" but that's not the case for me. Thanks!</p>