PHP Classes
elePHPant
Icontem

Files with upper case extensions

Recommend this page to a friend!

      Directory and file info  >  All threads  >  Files with upper case extensions  >  (Un) Subscribe thread alerts  
Subject:Files with upper case extensions
Summary:Files with upper case extensions (.JPG) get screened out.
Messages:1
Author:Steven
Date:2007-05-20 06:52:53
 

  1. Files with upper case extensions   Reply   Report abuse  
Steven - 2007-05-20 06:52:54
Files with upper case extensions (.JPG) get screened out when using get_ext_based_filelist.

Changed line 699 in my file to

// Modified to ensure lower and upper case extensions pass examination
return( in_array( strtolower($file_ext), $exts, true ) );

strtolower was added.