Jump to content


This topic is now archived and is closed to further replies.


Include script to include multiple files by date of creation

Recommended Posts

Anyone know or have a script that I can use in which you have two files, one created April 1 and the other April 2, I want April 2 to be included first, then 1 and so on. Below is a script I have for including multiple files, but need it so it does what I want.

while ($java = readdir($handles)) {
if(!is_dir($java) && !is_link($java))
@include("dir/". $java);



Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.