Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 2nd, 2007, 8:15 AM   #1
pegasus001
Hobbyist Programmer
 
pegasus001's Avatar
 
Join Date: Nov 2006
Location: 163H
Posts: 213
Rep Power: 2 pegasus001 is on a distinguished road
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.
pegasus001 is offline   Reply With Quote
Old May 2nd, 2007, 8:59 AM   #2
PhilBon
Hobbyist Programmer
 
PhilBon's Avatar
 
Join Date: Nov 2005
Posts: 172
Rep Power: 3 PhilBon is on a distinguished road
Send a message via AIM to PhilBon Send a message via MSN to PhilBon
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.
PhilBon is offline   Reply With Quote
Old May 2nd, 2007, 9:01 AM   #3
pegasus001
Hobbyist Programmer
 
pegasus001's Avatar
 
Join Date: Nov 2006
Location: 163H
Posts: 213
Rep Power: 2 pegasus001 is on a distinguished road
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.
pegasus001 is offline   Reply With Quote
Old May 2nd, 2007, 9:21 AM   #4
PhilBon
Hobbyist Programmer
 
PhilBon's Avatar
 
Join Date: Nov 2005
Posts: 172
Rep Power: 3 PhilBon is on a distinguished road
Send a message via AIM to PhilBon Send a message via MSN to PhilBon
Would you mind posting the Error?
PhilBon is offline   Reply With Quote
Old May 3rd, 2007, 10:47 AM   #5
pegasus001
Hobbyist Programmer
 
pegasus001's Avatar
 
Join Date: Nov 2006
Location: 163H
Posts: 213
Rep Power: 2 pegasus001 is on a distinguished road
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.
pegasus001 is offline   Reply With Quote
Old May 3rd, 2007, 11:25 AM   #6
PhilBon
Hobbyist Programmer
 
PhilBon's Avatar
 
Join Date: Nov 2005
Posts: 172
Rep Power: 3 PhilBon is on a distinguished road
Send a message via AIM to PhilBon Send a message via MSN to PhilBon
Yeah No Problem, Anytime. Almost any Server/Security setting like that I have already encountered.
PhilBon is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:22 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC