From: "Chris Shiflett" <[EMAIL PROTECTED]>
--- Marius Røstad <[EMAIL PROTECTED]> wrote:
> > I have a Windows XP pro
> [snip]
> > How do I change file permissions to make it "identical" to the
> > chmod 777 on Unix systems.
>
> With Windows, you probably right-click the file and go to properties, then
> you want to grant read, write, and execute privileges to user, group, and
> other.

If you have anonymous browsing (default) enabled in IIS, then PHP (running
within IIS) will run as the IUSR_* user (where * is generally the computer
name).

Do as Chris said and give the IUSR_* user permission to write to the
directory where you're trying to use the file functions.

If you're not using anonymous browsing and using integrated Windows
Authentication, then you follow the same procedure except you need to give
yourself permission to write to the folder in question. Basically, IIS
almost "runs" as you and you must have permission to read the PHP file to
begin with, then permission to write to the directory.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to