marcusl Posted April 14, 2010 Share Posted April 14, 2010 Hey guys. Hope you're well. I have a php script on my server. The php script creates a new folder called "test", then set that folder's permission to 777. Next, I attempt to save a file into the "test" folder, but it doesn't work. As a test, I logged in as the admin using FileZilla, then created a folder named "test2". I ran another php script to save a file into the "test2" folder, and that worked fine. Both "test" and "test2" have 777 permissions. The only difference is that "test" has "apache apache" under "Owner/Group", and "test2" has the admin details under "Owner/Group". I want to create a folder via php, then save a file inside that folder. Thanks for your help. Quote Link to comment Share on other sites More sharing options...
steviewdr Posted April 14, 2010 Share Posted April 14, 2010 Is the test folder been created successfully by the php script? Can you verify that the php script chmods 777 the test folder? How are you getting php to make the folder test? Quote Link to comment 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.