Windows Permissions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Windows Permissions

Post by shiznatix »

I am trying to upload a file on a windows server and I get this error:
Warning: move_uploaded_file(**FULL WINDOWS PATH**\asthanos.gif): failed to open stream: Permission denied in **FULL WINDOWS PATH**\UploadImage.php on line 9

Warning: move_uploaded_file(): Unable to move 'C:\WINDOWS\Temp\php73BB.tmp' to '**FULL WINDOWS PATH**\asthanos.gif' in **FULL WINDOWS PATH**\UploadImage.php on line 9
diddddd
I thought windows did not have permission like that? Why can't I write to the webserver?
User avatar
bokehman
Forum Regular
Posts: 509
Joined: Wed May 11, 2005 2:33 am
Location: Alicante (Spain)

Post by bokehman »

What is a windows server? If you mean IIS it has permissions. Also NTFS has permissions.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

got it. I am just not used to developing in a windows environment so i get frustrated and angry really quickly.
Post Reply