recherche intelligente de gens
[auf_rh_dae.git] / project / media / jquery-autocomplete / demo / images.php
1 <?php
2 $term = $_REQUEST['q'];
3 $images = array_slice(scandir("images"), 2);
4 foreach($images as $value) {
5 if( strpos(strtolower($value), $term) === 0 ) {
6 echo $value . "\n";
7 }
8 }
9 ?>