[Wolves] php page for displaying latest image in directory

Wayne Morris wayne at machx.co.uk
Fri Mar 26 17:03:49 GMT 2004


On Fri, 2004-03-26 at 11:01, Jon Farmer wrote:
> Wayne Morris wrote:
> > Someone threw me a line months ago for this and it worked great, but I
> > deleted the file!
> > 
> > Can someone remind me how to:
> > 
> > Display latest image in directory where filename in format
> > filexxxxxx.jpg
> 
> How are you defining "latest" image? I presumme the xxxx are integers so 
> are you looking for the highest number or are you looking for the latest 
> timestamp on the file?
> 
> Regards
> 
> Jon

The file names are sequential with latest as newest, so it could be done
with date or filename.




More information about the Wolves mailing list