Jump to content

chmod() problem


The Little Guy

Recommended Posts

I figured it out, I needed one more like, it now looks like this:

move_uploaded_file($tmp_name, "users/$_SESSION[user]/".strtolower($name));
$movedfile = "users/$_SESSION[user]/".strtolower($name);
chmod($movedfile,0444);

Thanks for the help, separating the functions really helped.
Link to comment
https://forums.phpfreaks.com/topic/33722-chmod-problem/#findComment-158130
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.