【发布时间】:2009-06-28 17:55:53
【问题描述】:
我需要使用 PHP 为我的网站创建临时文件。如何按以下方式对它们进行编号:
tmp_file_01.jpg
tmp_file_02.jpg
tmp_file_XX.jpg
我想避免运行 shell 来确定下一个可用索引是什么。
【问题讨论】:
我需要使用 PHP 为我的网站创建临时文件。如何按以下方式对它们进行编号:
tmp_file_01.jpg
tmp_file_02.jpg
tmp_file_XX.jpg
我想避免运行 shell 来确定下一个可用索引是什么。
【问题讨论】: