Page 1 of 1

chmoding in Windows 2003 Server

Posted: Fri Aug 25, 2006 9:23 am
by anjanesh
Hi

I got a Windows 2003 virtual dedicated Server and have uploaded some php scripts.

2 things dont work:
fopen for write and move_uploaded_file.

I understand that move_uploaded_file wont work unless I set public-write permission to it, but how come fopen('file', 'w') doesnt work ?

Whats the alternative to chmod ? I cant use GUI and change permissions since this has got be done remotely.

Thanks

Posted: Sat Aug 26, 2006 12:02 am
by RobertGonzalez
There is some pretty good information in the user notes in the PHP manual page for fopen().

Posted: Sat Aug 26, 2006 12:07 am
by daedalus__
You could just use Windows Explorer to set the permission for IUSR_machinename

Posted: Sat Aug 26, 2006 12:57 am
by anjanesh
Image

I want write to be checked. But how do I get this done remotely ?