![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Nov 2006
Location: 163H
Posts: 213
Rep Power: 2
![]() |
Privileges Error
Hello guys i have just started learning in php. So far so good until last night when i was trying a script about file uploading and when i execute it in the move_uploaded_file() php issues a warning about some kind of privileges error, that it cannot move the file. I have to specify that i am using winxp sp2 and as a server IIS6.0. I have read in the php manual and tried everythig there and more but nothing worked. So i am counting on your help before i shut down IIS and install xampp.
__________________
You never test the depth of a river with both feet. The believer is happy. The doubter is wise. Free speech carries with it some freedom to listen. The next generation will always surpass the previous one. It`s one of the never ending cycles of life. |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
|
Chances are it's a Permission Setting. Are you in XP Pro or Home? You will want to make it so that the internet User or the PHP user can write to that Folder. To do this in XP Pro you right click on the folder, select Security and add the Internet User and/or the PHP User (I don't think there is one so it just might be the internet user). For Pro you might have to be apart of a Domain as well. For Home, I'm not to sure on how you would do this seeing as there is no security tab. Look up the Command Calcs It works with File Permission and you will probably be able to take care of it with that.
Basically you just have to add the Internet User to the Permissions. |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Nov 2006
Location: 163H
Posts: 213
Rep Power: 2
![]() |
Well i have added the Internet User to "Full Access", but that doesn`t work. And i am using xp pro. And also checked the write option of my folder in the IIS on control panel.
__________________
You never test the depth of a river with both feet. The believer is happy. The doubter is wise. Free speech carries with it some freedom to listen. The next generation will always surpass the previous one. It`s one of the never ending cycles of life. |
|
|
|
|
|
#4 |
|
Hobbyist Programmer
|
Would you mind posting the Error?
|
|
|
|
|
|
#5 |
|
Hobbyist Programmer
Join Date: Nov 2006
Location: 163H
Posts: 213
Rep Power: 2
![]() |
I got it working. I set the Internet User to modify in the folder i wanted. When i set this setting to a folder that had subfolders in it they didn`t apply to all the subfolders.
Thank you Phil. ![]()
__________________
You never test the depth of a river with both feet. The believer is happy. The doubter is wise. Free speech carries with it some freedom to listen. The next generation will always surpass the previous one. It`s one of the never ending cycles of life. |
|
|
|
|
|
#6 |
|
Hobbyist Programmer
|
Yeah No Problem, Anytime. Almost any Server/Security setting like that I have already encountered.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Header file internal errors | kruptof | Coder's Corner Lounge | 2 | Jan 14th, 2007 1:12 PM |
| C# corruption!!! | Kilo | C++ | 32 | May 21st, 2006 8:44 PM |
| Masm | rsnd | Assembly | 4 | May 20th, 2006 9:05 PM |
| libraries | matko | C | 1 | Jan 22nd, 2006 2:12 PM |
| HELP please!!! | hamacacolgante | C | 7 | Nov 21st, 2005 5:36 AM |