I must create and write files to our hosted server from a PHP-scenario. So can I \"chmod 777\" the root directory of our hosted site from a scenario stored in this root directory? Thanks.
777 is a never a good thing.
You should give write access only to those users that need it.
OK. And how? This script is executed from the Web.