0

I am using redhat 7 and php 5.6.25. I have a php file upload script which does upload a file but only to the directory named uploads. If I want to upload the file to any other directory it returns false.I also tried setting directory permissions to 0777 still no luck.

  • It's hard to answer without checking the script. You may want to debug or post it. BTW: setting 0777 is not a very good idea. – goteguru Jul 18 '18 at 13:31

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.