Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to use this function in PHP move_uploaded_File to move a file to a different directory than the one it was uploaded to.

However, even though the user has enough rights (iusr / iis_iusrs) to upload the file, when the function move_uploaded_file() is run, nothing happens!

I'm running IIS 8 with php .

How can I use process monitor to figure out what's happening with permissions?

share|improve this question

1 Answer 1

well, you start capturing, perform the action that fails, stop your capture, and then filter the results to see what actions occured. you might want to Try FileMon instead. you can filter it by process to only see the IIS worker processes you want, and then by file to see whats going on.

That said, these tools are no replacement for debugging and logging. the php runtime is your best source for information on whats going down.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.