yolop Posted October 15, 2008 Share Posted October 15, 2008 i do that <?php mkdir("my/", 0700); ?> but it's rerurn Warning: mkdir() [function.mkdir]: Permission denied in help Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/ Share on other sites More sharing options...
Lamez Posted October 15, 2008 Share Posted October 15, 2008 give the script 775 chmode Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/#findComment-666553 Share on other sites More sharing options...
yolop Posted October 15, 2008 Author Share Posted October 15, 2008 still Warning: mkdir() [function.mkdir]: Permission denied in Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/#findComment-666558 Share on other sites More sharing options...
Lamez Posted October 15, 2008 Share Posted October 15, 2008 lol, maybe 777 Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/#findComment-666559 Share on other sites More sharing options...
yolop Posted October 15, 2008 Author Share Posted October 15, 2008 no no still Warning: mkdir() [function.mkdir]: Permission denied in Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/#findComment-666566 Share on other sites More sharing options...
prexep Posted October 15, 2008 Share Posted October 15, 2008 Your script is valid. It's your safe mode I believe. Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/#findComment-666572 Share on other sites More sharing options...
yolop Posted October 15, 2008 Author Share Posted October 15, 2008 Your script is valid. It's your safe mode I believe. so? how i can creat a folder Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/#findComment-666576 Share on other sites More sharing options...
Lamez Posted October 15, 2008 Share Posted October 15, 2008 turn off safe mode, your webhost has that information. Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/#findComment-666580 Share on other sites More sharing options...
yolop Posted October 15, 2008 Author Share Posted October 15, 2008 i can't please help me without turn off the safemod Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/#findComment-666585 Share on other sites More sharing options...
prexep Posted October 15, 2008 Share Posted October 15, 2008 Make a file and put this in and tell me the value. <?php echo 'display_errors = ' . ini_get('disable_functions') . "\n"; ?> Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/#findComment-666592 Share on other sites More sharing options...
yolop Posted October 15, 2008 Author Share Posted October 15, 2008 Make a file and put this in and tell me the value. <?php echo 'display_errors = ' . ini_get('disable_functions') . "\n"; ?> display_errors = system,exec,escapeshellarg,proc_close,proc_open,ini_alter,dl,show_source Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/#findComment-666597 Share on other sites More sharing options...
prexep Posted October 15, 2008 Share Posted October 15, 2008 http://us2.php.net/manual/en/features.safe-mode.functions.php Safe mode is dening you it. But I currently don't know how to change it or if I even can without turning safe mode off. Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/#findComment-666604 Share on other sites More sharing options...
yolop Posted October 16, 2008 Author Share Posted October 16, 2008 i didn'w undersant please give me a code that creat a folder even I have safe mode Quote Link to comment https://forums.phpfreaks.com/topic/128614-want-to-creat-a-folder/#findComment-666882 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.