PHP upload permission problem

后端 未结 3 1294
你的背包
你的背包 2021-01-19 19:06

right guys ive ran into a problem with file permissions with the following upload form. a text file is passed to the upload/ dir by global users.

mysite$ ls          


        
3条回答
  •  离开以前
    2021-01-19 19:18

    move_uploaded_file uses umask(600). Use copy($source, $dest) instead of move.

提交回复
热议问题