Menu
i try using chmod() but my permissions are denied. i know what that means, i just don’t know how to change it from the web page without turning it on, but i don’t konw how to do that.
google didn’t help.
i have my own domain. im developing an app that the user will upload to their server, so the php page will change all the files it creates to 777 or 755 so they be altered later.[/QUOTE]
You have a permissions issue. the PHP process on your server is started by a particular user. In default PHP/MySQL setups, these are both typically owned by users of the respective name. Is this how yours is setup? If so, you need to go back and check that your PHP user has RWX on the particular directory/file system in question.[/QUOTE]
if( !chown ($file, "user") )
{
echo ("Unable to change file ownership");
}
0.1.9 — BETA 5.18