Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Unable to dynamically create files on the server using PHP


dougmcc1 - 12:28 am on Oct 7, 2009 (gmt 0)


Man this was much easier than it was made out to be.

All you have to do for php to be able to write to folders with 755 permissions is put 777 permissions on the folder above it (which allows the script to create folders within this folder), have the php script create the new folder itself that it will be storing files in, then change the folder permissions back to 755 for the folder above it.

Thanks bedlam for pointing me in the right direction!


Thread source:: http://www.webmasterworld.com/php/4001911.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com