# AS 3.0 and PHP to do directory and file search

**URL:** <https://forum.kirupa.com/t/as-3-0-and-php-to-do-directory-and-file-search/272007>\
**Category:** programming\
**Created:** [October 1, 2008, 9:24am UTC](https://forum.kirupa.com/t/as-3-0-and-php-to-do-directory-and-file-search/272007 "2008-10-01T09:24:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShahinChoudhury](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@ShahinChoudhury](https://forum.kirupa.com/u/ShahinChoudhury)\
**Post date:** [October 1, 2008, 9:24am UTC](https://forum.kirupa.com/t/as-3-0-and-php-to-do-directory-and-file-search/272007/1 "2008-10-01T09:24:24Z")

</div>

Guys,  
Sorry if this sounds a bit easy for some of you guru’s out there but im completely new and trying to do the below so any help would be appreciated.

I am trying to create a flash (cs3 with as3) based page which allows a user to manage the files on the server. Rather then letting the user go manually to the server via ftp and changing the directory names and moving the files around I am trying to create a easy interface similar to explorer but on a flash page.

If anyone can let me know how PHP can do a search in a directory and return the directory names and the file names as well as the files within the directory would be appreciated.

Many thanks
