No error when uploading a really big file in PHP?

后端 未结 6 775
说谎
说谎 2021-02-06 18:14

I have a PHP form for uploading files and it works fine and displays an error message if something went wrong. This is all good.

The problem is when I test with a really

6条回答
  •  日久生厌
    2021-02-06 18:27

    I would implement a simple script that does regular ajax calls to know how much of the upload has been done. You can then implement some sort of progress bar. There are a couple of examples on the net:

    http://martinjansen.com/2007/04/28/file-upload-progress-bars-with-php/

提交回复
热议问题