I must be missing something because right clicking on the file (in explorer) doesn't give me the option to change read - write - execute. All I get is Read-only and Hidden check boxes. And, they're not checked the check boxes are clear. I can do everything else I need to do, but I can't fopen. $fp = fopen($filename,"w") or die ("Couldn't open $filename!"); I get: Warning: fopen("abc.php","w") - Permission denied in c:\inetpub\wwwroot\ ... I get the same error when I try to touch a file Warning: unable to create file abc.php because Permission denied in c:\inetpub\wwwroot ... The same file works on my ISP's server. thx, Gil > -----Original Message----- > From: David Tod Sigafoos [mailto:dsig@teleport.com] > Sent: Sunday, January 18, 2004 4:59 AM > To: Gil > Subject: Re: chmod on win xp > > > 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 > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php