on my subdomain mkdir() function creates the Directory in the main root instead of the wanted directory, and it does not uploade the image into it

前端 未结 0 744
时光取名叫无心
时光取名叫无心 2021-01-22 16:59

I have this function which is working perfectly on the localhost:

   $avatar       = $_FILES [\'avatar\'];
   $avatarName   = $_FILES[\'avatar\'][\'name\'];
   $a         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题