PHP temp file names for uploads colliding

后端 未结 5 2007
离开以前
离开以前 2020-12-16 19:05

When a user uploads a file, randomly it gets replaced by another user\'s upload, I\'ve finally tracked down the issue to PHP and the tmp file name being reused. Is there a w

5条回答
  •  遥遥无期
    2020-12-16 19:39

    I would recommend using a GUID generator for the filename seeing that you are getting so many.

提交回复
热议问题