permission for folder that create with mkdir

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Mehraban
New php-forum User
New php-forum User
Posts: 1
Joined: Mon Jan 07, 2013 10:37 am

permission for folder that create with mkdir

Postby Mehraban » Mon Jan 07, 2013 10:51 am

I made a folder in PHP:

Code: Select all

   mkdir('../gallery/images/G'.$result_gallery,0777,true);

inside this folder are photos that users upload. when I want remove this folder or file
this warning appears:


Warning: rmdir(../gallery/images/G35): Permission denied in ...

I empty folder before deleting it.
my platform is windows and Based on explanations php manual mode is ignored on Windows.
What should I do to solve this problem?
Thanks for any help

Return to “PHP coding => General”

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron