Jump to content


Include script to include multiple files by date of creation

  • Please log in to reply
No replies to this topic

#1 anastaciomelero

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 04 April 2006 - 08:18 AM

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);



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users