Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

permission for folder that create with mkdir

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
Mehraban
New php-forum User
New php-forum User
 
Posts: 1
Joined: Mon Jan 07, 2013 10:37 am

Return to PHP coding => General

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron