You can set the rights on XP (or any windows os) from the Explorer window. RightClick Start Select Explorer navigate to the directory you want with the file showing in the right RightClick the file Select Properties select the 'rights' you want Saturday, January 17, 2004, 8:55:58 PM, you wrote: m> so I would like to write to file on my local box. m> $fp = fopen($filename, "w"); m> fwrite($fp, "whatever"); m> I get a permission error. m> I've looked but I don't see how to chmod. m> It worked on my ISP after CHMOD so it's not the code. m> using: windows xp and iis 5 m> -- gil -- DSig ````` David Tod Sigafoos ( O O ) _______oOOo__( )__oOOo_______ Using 'The Bat' 2.02.3 CE Using 'OS' Windows XP Service Pack 1 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php