Added the Autocomplete plugin

This commit is contained in:
Craig Andrews
2009-08-06 14:39:59 -04:00
parent e386a75d1b
commit 153248b482
115 changed files with 6781 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<?php
$term = $_REQUEST['q'];
$images = array_slice(scandir("images"), 2);
foreach($images as $value) {
if( strpos(strtolower($value), $term) === 0 ) {
echo $value . "\n";
}
}
?>