Getting filename (or deleting file) using file handle

后端 未结 4 1787
感情败类
感情败类 2020-12-08 01:46

Is there a possibility to obtain filename from file handle? Or how can I delete file having only a handle?

4条回答
  •  隐瞒了意图╮
    2020-12-08 02:08

    A clean method to use temporary file:

    
    

    without need to fclose the tmp file, it will be deleted while the php ends.

提交回复
热议问题