PHP upload permission problem

后端 未结 3 1297
你的背包
你的背包 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:27

    You can use chmod to change the file permissions.

    To get the permissions of a file, use fileperms.

提交回复
热议问题