php open file capital letters or not
snippet in php

php open file capital letters or not

user7818

$result = current(preg_grep("/".preg_quote($filename)."/i", glob("$path/*")));