php.ini中关于文件上传的配置指令:

    file_uploads = On          //是否接受上传的文件

     upload_tmp_dir                //临时文件保持目录

     upload_max_filesize   = 2M; 默认值是2M,   上传的文件的最大值

      post_max_size = 8M;      //表单以post方式,发送数据的最大值(文件+input内容等)

相关文章:

  • 2021-06-24
  • 2022-12-23
  • 2022-01-14
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-16
  • 2021-06-24
  • 2021-06-28
  • 2022-02-28
  • 2022-12-23
  • 2021-08-24
相关资源
相似解决方案