Hey, Checkout the following example. This example lists the directory content; you can do a simple string matching. http://www.weberdev.com/get_example-1572.html Thanks, Richard Correia -----Original Message----- From: Nicholas Couloute [mailto:njcjr@xxxxxxxxx] Sent: Monday, January 23, 2006 6:15 PM To: php-general@xxxxxxxxxxxxx Subject: Search files in a directory! I want to setup a search box that will search all the filenames in a given directory for the keyword provided by the user and display all the files that have that keyword? how would I do this? at least the searching part? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php