chmoding in Windows 2003 Server

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

chmoding in Windows 2003 Server

Post 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
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

There is some pretty good information in the user notes in the PHP manual page for fopen().
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

You could just use Windows Explorer to set the permission for IUSR_machinename
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Image

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