search

Home  >  Q&A  >  body text

php move_uploaded_file() path parameter usage

move_uploaded_file() This function has a problem with the upload path. Adding a Chinese folder name to the path causes an upload error. Does anyone know the reason?

学习ing学习ing2765 days ago1033

reply all(2)I'll reply

  • typecho

    typecho2017-07-01 09:14:02

    Chinese and special characters are prohibited in the folder name and path file name

    reply
    0
  • typecho

    typecho2017-07-01 09:14:02

    Encode the pathiconv("UTF-8", "GBK", Chinese path)

    reply
    0
  • Cancelreply