php脚本,在目录中显示上次上传的jpg [英] php script that displays last uploaded jpg in a directory
本文介绍了php脚本,在目录中显示上次上传的jpg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
作为标题真的,有没有人知道(或者可以写?)一个php文件,它在.jpg文件目录中显示最近添加的那个
/ dir?
有人可以帮忙吗?
解决方案
2005年2月6日09 :36:21 -0800, ro*********@gmail.com 写道:
作为标题真的,有没有人知道(或可以写?)一个php文件,它在.jpg文件目录中显示最新添加到该文件中/> / dir?
任何人都可以帮忙吗?
<?php
< blockquote> ctime = 0;
foreach(glob(''*。jpg'')as
file)
{
if(
As title really, does anyone know of (or could write?) a php file which
in a directory of .jpg files display the most recent added to that
/dir?
Can anyone help?
解决方案
On 6 Feb 2005 09:36:21 -0800, ro*********@gmail.com wrote:
As title really, does anyone know of (or could write?) a php file which
in a directory of .jpg files display the most recent added to that
/dir?
Can anyone help?
<?php
ctime = 0;
foreach (glob(''*.jpg'') as
file)
{
if (
这篇关于php脚本,在目录中显示上次上传的jpg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文